nngn
Loading...
Searching...
No Matches
lua_camera.cpp File Reference
#include "lua/function.h"
#include "lua/register.h"
#include "lua/table.h"
#include "timing/timing.h"
#include "camera.h"
Include dependency graph for lua_camera.cpp:

Namespaces

namespace  anonymous_namespace{lua_camera.cpp}
 

Functions

auto anonymous_namespace{lua_camera.cpp}::number (float v)
 
auto anonymous_namespace{lua_camera.cpp}::vec3 (nngn::vec3 v)
 
auto anonymous_namespace{lua_camera.cpp}::matrix (nngn::mat4 v)
 
template<float(Camera::*)(void) const f>
auto anonymous_namespace{lua_camera.cpp}::get (const Camera &c)
 
template<nngn::vec3 Camera::* p>
void anonymous_namespace{lua_camera.cpp}::set (Camera *s, float v0, float v1, float v2)
 
template<void(Camera::*)(nngn::vec3) f>
void anonymous_namespace{lua_camera.cpp}::set_f (Camera *s, float v0, float v1, float v2)
 
auto anonymous_namespace{lua_camera.cpp}::fov (lua_Number z, lua_Number w)
 
auto anonymous_namespace{lua_camera.cpp}::screen (const Camera &c)
 
bool anonymous_namespace{lua_camera.cpp}::ignore_limits (const Camera &c)
 
void anonymous_namespace{lua_camera.cpp}::set_ignore_limits (Camera &c, bool b)
 
auto anonymous_namespace{lua_camera.cpp}::world_to_view (const Camera &c, float v0, float v1, float v2)
 
auto anonymous_namespace{lua_camera.cpp}::view_to_clip (const Camera &c, float v0, float v1, float v2)
 
auto anonymous_namespace{lua_camera.cpp}::clip_to_view (const Camera &c, float v0, float v1, float v2)
 
auto anonymous_namespace{lua_camera.cpp}::view_to_world (const Camera &c, float v0, float v1, float v2)
 
void anonymous_namespace{lua_camera.cpp}::set_screen (Camera &c, lua_Integer x, lua_Integer y)
 
void anonymous_namespace{lua_camera.cpp}::set_limits (Camera &c, float bl_x, float bl_y, float bl_z, float tr_x, float tr_y, float tr_z)
 
void anonymous_namespace{lua_camera.cpp}::look_at (Camera &c, float px, float py, float pz, float ex, float ey, float ez, float ux, float uy, float uz)
 
void anonymous_namespace{lua_camera.cpp}::register_camera (nngn::lua::table_view t)