argos::CLuaVector3 Class Reference

#include <lua_vector3.h>

Static Public Member Functions

static void RegisterType (lua_State *pt_state)
 
static const std::string & GetTypeId ()
 
static int Create (lua_State *pt_state)
 
template<class... TArguments>
static void PushVector3 (lua_State *pt_state, TArguments &&... t_arguments)
 
static CVector3ToVector3 (lua_State *pt_state, int n_index)
 
static int Index (lua_State *pt_state)
 
static int NewIndex (lua_State *pt_state)
 
static int ToString (lua_State *pt_state)
 
static int Equal (lua_State *pt_state)
 
static int Add (lua_State *pt_state)
 
static int Multiply (lua_State *pt_state)
 
static int Subtract (lua_State *pt_state)
 
static int UnaryMinus (lua_State *pt_state)
 
static int Normalize (lua_State *pt_state)
 
static int Length (lua_State *pt_state)
 
static int DotProduct (lua_State *pt_state)
 
static int CrossProduct (lua_State *pt_state)
 
static int Rotate (lua_State *pt_state)
 

Detailed Description

Definition at line 24 of file lua_vector3.h.

Member Function Documentation

◆ Add()

int argos::CLuaVector3::Add ( lua_State *  pt_state)
static

Definition at line 187 of file lua_vector3.cpp.

◆ Create()

int argos::CLuaVector3::Create ( lua_State *  pt_state)
static

Definition at line 50 of file lua_vector3.cpp.

◆ CrossProduct()

int argos::CLuaVector3::CrossProduct ( lua_State *  pt_state)
static

Definition at line 255 of file lua_vector3.cpp.

◆ DotProduct()

int argos::CLuaVector3::DotProduct ( lua_State *  pt_state)
static

Definition at line 266 of file lua_vector3.cpp.

◆ Equal()

int argos::CLuaVector3::Equal ( lua_State *  pt_state)
static

Definition at line 176 of file lua_vector3.cpp.

◆ GetTypeId()

static const std::string& argos::CLuaVector3::GetTypeId ( )
inlinestatic

Definition at line 30 of file lua_vector3.h.

◆ Index()

int argos::CLuaVector3::Index ( lua_State *  pt_state)
static

Definition at line 105 of file lua_vector3.cpp.

◆ Length()

int argos::CLuaVector3::Length ( lua_State *  pt_state)
static

Definition at line 246 of file lua_vector3.cpp.

◆ Multiply()

int argos::CLuaVector3::Multiply ( lua_State *  pt_state)
static

Definition at line 198 of file lua_vector3.cpp.

◆ NewIndex()

int argos::CLuaVector3::NewIndex ( lua_State *  pt_state)
static

Definition at line 143 of file lua_vector3.cpp.

◆ Normalize()

int argos::CLuaVector3::Normalize ( lua_State *  pt_state)
static

Definition at line 237 of file lua_vector3.cpp.

◆ PushVector3()

template<class... TArguments>
static void argos::CLuaVector3::PushVector3 ( lua_State *  pt_state,
TArguments &&...  t_arguments 
)
inlinestatic

Definition at line 37 of file lua_vector3.h.

◆ RegisterType()

void argos::CLuaVector3::RegisterType ( lua_State *  pt_state)
static

Definition at line 25 of file lua_vector3.cpp.

◆ Rotate()

int argos::CLuaVector3::Rotate ( lua_State *  pt_state)
static

Definition at line 278 of file lua_vector3.cpp.

◆ Subtract()

int argos::CLuaVector3::Subtract ( lua_State *  pt_state)
static

Definition at line 217 of file lua_vector3.cpp.

◆ ToString()

int argos::CLuaVector3::ToString ( lua_State *  pt_state)
static

Definition at line 295 of file lua_vector3.cpp.

◆ ToVector3()

CVector3 & argos::CLuaVector3::ToVector3 ( lua_State *  pt_state,
int  n_index 
)
static

Definition at line 87 of file lua_vector3.cpp.

◆ UnaryMinus()

int argos::CLuaVector3::UnaryMinus ( lua_State *  pt_state)
static

Definition at line 228 of file lua_vector3.cpp.