Skip to content

Commit

Permalink
Cleanup|Map Renderer|Lumobj|Client: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Sep 6, 2013
1 parent 5b20e1d commit 966a845
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 8 additions & 1 deletion doomsday/client/include/render/lumobj.h
Expand Up @@ -49,7 +49,7 @@ class Lumobj : public de::MapObject
* @param origin Origin in map space.
* @param radius Radius in map space units.
* @param color Color/intensity.
* @param maxDistance Maximum distance at which to drawn (default: no-max).
* @param maxDistance Maximum distance at which to be drawn (default: no-max).
*/
Lumobj(de::Vector3d const &origin = de::Vector3d(),
double radius = 256,
Expand All @@ -64,7 +64,14 @@ class Lumobj : public de::MapObject
*/
static void consoleRegister();

/**
* Returns the current radius scale factor (user configurable).
*/
static float radiusFactor();

/**
* Returns the current radius maximum (user configurable).
*/
static int radiusMax();

/**
Expand Down
3 changes: 1 addition & 2 deletions doomsday/client/src/render/lumobj.cpp
Expand Up @@ -69,8 +69,7 @@ DENG2_PIMPL_NOREF(Lumobj)
{}
};

Lumobj::Lumobj(Vector3d const &origin, double radius, Vector3f const &color,
double maxDistance)
Lumobj::Lumobj(Vector3d const &origin, double radius, Vector3f const &color, double maxDistance)
: MapObject(), d(new Instance())
{
setOrigin (origin);
Expand Down

0 comments on commit 966a845

Please sign in to comment.