mirror of https://github.com/AxioDL/zeus.git
Minor compile fixes and corrections
This commit is contained in:
parent
e9ec10a382
commit
316d937f11
|
@ -1,4 +1,5 @@
|
|||
#pragma once
|
||||
#include <cstdint>
|
||||
#ifndef _ZEUS_SIMD_INCLUDED
|
||||
#error simd_sse.hpp must not be included directly. Include simd.hpp instead.
|
||||
#endif
|
||||
|
|
|
@ -183,7 +183,7 @@ CTransform lookAt(const CVector3f& pos, const CVector3f& lookPos, const CVector3
|
|||
|
||||
CVector3f getBezierPoint(const CVector3f& a, const CVector3f& b, const CVector3f& c, const CVector3f& d, float t) {
|
||||
const float omt = 1.f - t;
|
||||
return ((a * omt + b * t) * omt + (b * omt + c * t) * t) * omt +
|
||||
return (((a * omt) + b * t) * omt + (b * omt + c * t) * t) * omt +
|
||||
((b * omt + c * t) * omt + (c * omt + d * t) * t) * t;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue