diff options
Diffstat (limited to 'src/render/render.cc')
-rw-r--r-- | src/render/render.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/render.cc b/src/render/render.cc index ce23645..e37f5f2 100644 --- a/src/render/render.cc +++ b/src/render/render.cc @@ -34,6 +34,7 @@ core::Cvar *r_sky = 0; core::Cvar *r_wireframe = 0; core::Cvar *r_mipmap = 0; core::Cvar *r_collision = 0; +core::Cvar *r_normals = 0; void func_list_textures(std::string const &args) { @@ -68,6 +69,9 @@ void init(int width, int height) r_wireframe = core::Cvar::get("r_wireframe", "0", core::Cvar::Archive); r_wireframe->set_info("[bool] render wireframe"); + r_normals = core::Cvar::get("r_normals", "0", core::Cvar::Archive); + r_normals->set_info("[bool] render face normals"); + r_grid = core::Cvar::get("r_grid", "0", core::Cvar::Archive); r_grid->set_info("[bool] render the space grid"); |