85 operator std::vector<double>() {
return elements; }
glm::vec< L, float, glm::qualifier::highp > vec
Definition commandLine.h:214
std::vector< double > getNumericLuaTable(lua_State *lua, int index)
Get the a Lua table of doubles.
Definition lua.h:24
Interop for a variable size numeric array (vector) in Lua.
Definition LuaVec.h:12
bool readField(lua_State *lua, const char *name)
Read the vector from a table field.
Definition LuaVec.h:38
double & operator[](size_t i)
Definition LuaVec.h:81
size_t size() const
Definition LuaVec.h:83
LuaVec()
Construct an empty vector.
Definition LuaVec.h:17
std::vector< double > elements
Definition LuaVec.h:87
bool readGlobal(lua_State *lua, const char *name)
Read the vector from a global table field.
Definition LuaVec.h:63
void read(lua_State *lua, int index)
Read the vector from stack index index.
Definition LuaVec.h:25