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

Functions

auto number (float v)
 
auto vec3 (nngn::vec3 v)
 
auto vec4 (nngn::vec4 v)
 
template<void(Light::*)(const nngn::vec3 &) f>
void set (Light *l, float v0, float v1, float v2)
 
template<void(Light::*)(const nngn::vec4 &) f>
void set (Light *l, float v0, float v1, float v2, float v3)
 
template<const nngn::vec4 &(Lighting::*)() const f>
auto get (const Lighting &l)
 
template<void(Lighting::*)(const nngn::vec3 &) f>
void set (Lighting *l, float v0, float v1, float v2)
 
template<void(Lighting::*)(const nngn::vec4 &) f>
void set (Lighting *l, float v0, float v1, float v2, float v3)
 
auto n_dir_lights (const Lighting &l)
 
auto n_point_lights (const Lighting &l)
 
auto dir_light (const Lighting &l, lua_Integer i)
 
auto point_light (const Lighting &l, lua_Integer i)
 
void set_ambient_anim (Lighting *l, nngn::lua::table_view t)
 
void register_light (nngn::lua::table_view t)
 
void register_lighting (nngn::lua::table_view t)
 

Function Documentation

◆ dir_light()

auto anonymous_namespace{lua_light.cpp}::dir_light ( const Lighting l,
lua_Integer  i 
)
Here is the caller graph for this function:

◆ get()

template<const nngn::vec4 &(Lighting::*)() const f>
auto anonymous_namespace{lua_light.cpp}::get ( const Lighting l)
Here is the call graph for this function:

◆ n_dir_lights()

auto anonymous_namespace{lua_light.cpp}::n_dir_lights ( const Lighting l)
Here is the caller graph for this function:

◆ n_point_lights()

auto anonymous_namespace{lua_light.cpp}::n_point_lights ( const Lighting l)
Here is the caller graph for this function:

◆ number()

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

◆ point_light()

auto anonymous_namespace{lua_light.cpp}::point_light ( const Lighting l,
lua_Integer  i 
)
Here is the caller graph for this function:

◆ register_light()

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

◆ register_lighting()

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

◆ set() [1/4]

template<void(Light::*)(const nngn::vec3 &) f>
void anonymous_namespace{lua_light.cpp}::set ( Light l,
float  v0,
float  v1,
float  v2 
)
Here is the call graph for this function:

◆ set() [2/4]

template<void(Light::*)(const nngn::vec4 &) f>
void anonymous_namespace{lua_light.cpp}::set ( Light l,
float  v0,
float  v1,
float  v2,
float  v3 
)
Here is the call graph for this function:

◆ set() [3/4]

template<void(Lighting::*)(const nngn::vec3 &) f>
void anonymous_namespace{lua_light.cpp}::set ( Lighting l,
float  v0,
float  v1,
float  v2 
)
Here is the call graph for this function:

◆ set() [4/4]

template<void(Lighting::*)(const nngn::vec4 &) f>
void anonymous_namespace{lua_light.cpp}::set ( Lighting l,
float  v0,
float  v1,
float  v2,
float  v3 
)
Here is the call graph for this function:

◆ set_ambient_anim()

void anonymous_namespace{lua_light.cpp}::set_ambient_anim ( Lighting l,
nngn::lua::table_view  t 
)
Here is the caller graph for this function:

◆ vec3()

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

◆ vec4()

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