Math/Quaternion: Fix compilation of static method Lerp
This commit is contained in:
parent
37a04ed4b3
commit
7c5bf0f83e
|
|
@ -714,10 +714,10 @@ namespace Nz
|
|||
#endif
|
||||
|
||||
Quaternion interpolated;
|
||||
interpolated.w = Lerp(from.w, to.w, interpolation);
|
||||
interpolated.x = Lerp(from.x, to.x, interpolation);
|
||||
interpolated.y = Lerp(from.y, to.y, interpolation);
|
||||
interpolated.z = Lerp(from.z, to.z, interpolation);
|
||||
interpolated.w = Nz::Lerp(from.w, to.w, interpolation);
|
||||
interpolated.x = Nz::Lerp(from.x, to.x, interpolation);
|
||||
interpolated.y = Nz::Lerp(from.y, to.y, interpolation);
|
||||
interpolated.z = Nz::Lerp(from.z, to.z, interpolation);
|
||||
|
||||
return interpolated;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue