nngn
Loading...
Searching...
No Matches
anonymous_namespace{lua_camera.cpp} Namespace Reference

Functions

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

Function Documentation

◆ clip_to_view()

auto anonymous_namespace{lua_camera.cpp}::clip_to_view ( const Camera & c,
float v0,
float v1,
float v2 )
Here is the caller graph for this function:

◆ fov()

auto anonymous_namespace{lua_camera.cpp}::fov ( lua_Number z,
lua_Number w )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get()

template<float(Camera::*)(void) const f>
auto anonymous_namespace{lua_camera.cpp}::get ( const Camera & c)
Here is the call graph for this function:

◆ ignore_limits()

bool anonymous_namespace{lua_camera.cpp}::ignore_limits ( const Camera & c)
Here is the caller graph for this function:

◆ look_at()

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 )
Here is the caller graph for this function:

◆ matrix()

auto anonymous_namespace{lua_camera.cpp}::matrix ( nngn::mat4 v)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ number()

auto anonymous_namespace{lua_camera.cpp}::number ( float v)
Here is the caller graph for this function:

◆ register_camera()

void anonymous_namespace{lua_camera.cpp}::register_camera ( nngn::lua::table_view t)
Here is the call graph for this function:

◆ screen()

auto anonymous_namespace{lua_camera.cpp}::screen ( const Camera & c)
Here is the caller graph for this function:

◆ set()

template<nngn::vec3 Camera::* p>
void anonymous_namespace{lua_camera.cpp}::set ( Camera * s,
float v0,
float v1,
float v2 )

◆ set_f()

template<void(Camera::*)(nngn::vec3) f>
void anonymous_namespace{lua_camera.cpp}::set_f ( Camera * s,
float v0,
float v1,
float v2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_ignore_limits()

void anonymous_namespace{lua_camera.cpp}::set_ignore_limits ( Camera & c,
bool b )
Here is the caller graph for this function:

◆ set_limits()

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 )

◆ set_screen()

void anonymous_namespace{lua_camera.cpp}::set_screen ( Camera & c,
lua_Integer x,
lua_Integer y )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vec3()

auto anonymous_namespace{lua_camera.cpp}::vec3 ( nngn::vec3 v)
Here is the call graph for this function:

◆ view_to_clip()

auto anonymous_namespace{lua_camera.cpp}::view_to_clip ( const Camera & c,
float v0,
float v1,
float v2 )
Here is the caller graph for this function:

◆ view_to_world()

auto anonymous_namespace{lua_camera.cpp}::view_to_world ( const Camera & c,
float v0,
float v1,
float v2 )
Here is the caller graph for this function:

◆ world_to_view()

auto anonymous_namespace{lua_camera.cpp}::world_to_view ( const Camera & c,
float v0,
float v1,
float v2 )
Here is the caller graph for this function: