Suppress unused function warning (#16657)

This commit is contained in:
mogemimi 2016-10-08 11:14:58 +09:00 committed by minggo
parent a4769cdf2e
commit 611b6fafc8
1 changed files with 4 additions and 0 deletions

View File

@ -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)
{