From 5813b65b724f2983f9b469fef616ce13e315ae8b Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 7 Jul 2005 00:59:51 +0000 Subject: [PATCH] SetVanishPoint binding --- stepmania/src/ActorFrame.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/ActorFrame.cpp b/stepmania/src/ActorFrame.cpp index 2bca864f7c..b2d3a3b42b 100644 --- a/stepmania/src/ActorFrame.cpp +++ b/stepmania/src/ActorFrame.cpp @@ -337,6 +337,7 @@ public: static int fov( T* p, lua_State *L ) { p->SetFOV( FArg(1) ); return 0; } static int SetUpdateRate( T* p, lua_State *L ) { p->SetUpdateRate( FArg(1) ); return 0; } static int SetFOV( T* p, lua_State *L ) { p->SetFOV( FArg(1) ); return 0; } + static int vanishpoint( T* p, lua_State *L ) { p->SetVanishPoint( FArg(1), FArg(2) ); return 0; } static int GetChild( T* p, lua_State *L ) { Actor *pChild = p->GetChild( SArg(1) ); @@ -355,6 +356,7 @@ public: ADD_METHOD( fov ) ADD_METHOD( SetUpdateRate ) ADD_METHOD( SetFOV ) + ADD_METHOD( vanishpoint ) ADD_METHOD( GetChild ) ADD_METHOD( GetNumChildren ) ADD_METHOD( SetDrawByZPosition )