mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-02-04 02:24:00 +00:00
MSVC optimizer doesn't like refs to primitive types
This commit is contained in:
parent
a1005dafe2
commit
4b64147914
2 changed files with 2 additions and 2 deletions
|
@ -403,7 +403,7 @@ Vector randVector(float mag)
|
||||||
return Vector(x*mag, y*mag);
|
return Vector(x*mag, y*mag);
|
||||||
}
|
}
|
||||||
|
|
||||||
float lerp(const float &v1, const float &v2, float dt, int lerpType)
|
float lerp(float v1, float v2, float dt, int lerpType)
|
||||||
{
|
{
|
||||||
switch(lerpType)
|
switch(lerpType)
|
||||||
{
|
{
|
||||||
|
|
|
@ -182,7 +182,7 @@ enum LerpType
|
||||||
#define DOUBLE_CLICK_DELAY 0.5f
|
#define DOUBLE_CLICK_DELAY 0.5f
|
||||||
|
|
||||||
|
|
||||||
float lerp(const float &v1, const float &v2, float dt, int lerpType);
|
float lerp(float v1, float v2, float dt, int lerpType);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue