Exemple #1
0
    public static Quaternion ToQuaternion(IntPtr L, int idx)
    {
        Quaternion res;

        LuaAPI.ToVector4(L, idx, out res.x, out res.y, out res.z, out res.w);
        return(res);
    }
Exemple #2
0
    public static Vector4 ToVector4(IntPtr L, int idx)
    {
        Vector4 res;

        LuaAPI.ToVector4(L, idx, out res.x, out res.y, out res.z, out res.w);
        return(res);
    }