nngn
Loading...
Searching...
No Matches
lua_light.cpp File Reference
#include "lua/function.h"
#include "lua/register.h"
#include "lua/table.h"
#include "entity.h"
#include "light.h"
Include dependency graph for lua_light.cpp:

Namespaces

namespace  anonymous_namespace{lua_light.cpp}
 

Functions

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