예제 #1
0
int LuaScriptUtilities::PushRealAttribute(
    lua_State* const luaVM,
    const Ogre::Real real,
    const Ogre::String attributeName,
    const int tableIndex)
{
    PushString(luaVM, attributeName);
    PushReal(luaVM, real);
    lua_settable(luaVM, tableIndex);
    return 1;
}
예제 #2
0
파일: parse.c 프로젝트: MattWherry/yorick
CodeBlock YpImaginary(double d)
{ return PushReal(d, &PushImaginary); }
예제 #3
0
파일: parse.c 프로젝트: MattWherry/yorick
CodeBlock YpDouble(double d)
{ return PushReal(d, &PushDouble); }
예제 #4
0
파일: parse.c 프로젝트: MattWherry/yorick
CodeBlock YpFloat(double f)
{ return PushReal(f, &PushFloat); }