|
|
@@ -24,6 +24,7 @@ bool LuaStack::is_matrix4x4(int i)
|
|
|
return device()->lua_environment()->is_matrix4x4((Matrix4x4*)lua_touserdata(L, i));
|
|
|
}
|
|
|
|
|
|
+#if !CROWN_RELEASE
|
|
|
void LuaStack::check_temporary(int i, const Vector3* p)
|
|
|
{
|
|
|
LuaEnvironment* env = device()->lua_environment();
|
|
|
@@ -44,6 +45,7 @@ void LuaStack::check_temporary(int i, const Matrix4x4* p)
|
|
|
if (!is_pointer(i) || !env->is_matrix4x4(p))
|
|
|
luaL_typerror(L, i, "Matrix4x4");
|
|
|
}
|
|
|
+#endif // !CROWN_RELEASE
|
|
|
|
|
|
void LuaStack::push_vector2(const Vector2& v)
|
|
|
{
|