inline const double GetVi (const unsigned int index) const { return _v.at (index); }
inline const double GetXi (const unsigned int index) const { return _xstart.at (index); }
inline const double GetYi (const unsigned int index) const { return _ystart.at (index); }
inline const double GetZi (const unsigned int index) const { return _z.at (index); }
If index is out of range, it will
throw an exception causing my program to core. I have a try/catch (...) around the call to:
errorCode = lua_pcall ((lua_State *) _LState, 0, LUA_MULTRET, 0);
However, my exception handler is never reached.
Should that work for me? I may be missing something...
Thanks,
Joey