mirror of https://github.com/axmolengine/axmol.git
Suppress unused function warning (#16657)
This commit is contained in:
parent
a4769cdf2e
commit
611b6fafc8
|
@ -127,6 +127,8 @@ Vec3 lowPass(const Vec3& input, const Vec3& prev)
|
|||
|
||||
#endif // (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
|
||||
|
||||
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) || (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
|
||||
|
||||
static Mat4 getRotateEulerMatrix(float x, float y, float z)
|
||||
{
|
||||
x *= static_cast<float>(M_PI) / 180.0f;
|
||||
|
@ -160,6 +162,8 @@ static Mat4 getRotateEulerMatrix(float x, float y, float z)
|
|||
return matrix;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
VRGenericHeadTracker::VRGenericHeadTracker()
|
||||
: _localPosition(Vec3::ZERO)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue