Skip to content

Commit

Permalink
Cleanup|Map Renderer|Client: Minor clean up of surface light decorati…
Browse files Browse the repository at this point in the history
…on plotting
  • Loading branch information
danij-deng committed Sep 6, 2013
1 parent 966a845 commit 5335c9c
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 157 deletions.
4 changes: 2 additions & 2 deletions doomsday/client/include/render/lumobj.h
Expand Up @@ -52,9 +52,9 @@ class Lumobj : public de::MapObject
* @param maxDistance Maximum distance at which to be drawn (default: no-max).
*/
Lumobj(de::Vector3d const &origin = de::Vector3d(),
double radius = 256,
double radius = 256,
de::Vector3f const &color = de::Vector3f(1, 1, 1),
double maxDistance = 0);
double maxDistance = 0);

/// Construct a new luminious object by copying @a other.
Lumobj(Lumobj const &other);
Expand Down
2 changes: 1 addition & 1 deletion doomsday/client/include/render/rend_main.h
Expand Up @@ -107,7 +107,7 @@ void Rend_ModelViewMatrix(bool useAngles = true);
/**
* Approximated! The Z axis aspect ratio is corrected.
*/
coord_t Rend_PointDist3D(coord_t const point[3]);
double Rend_PointDist3D(de::Vector3d const &point);

void Rend_ApplyTorchLight(float *color3, float distance);
void Rend_ApplyTorchLight(de::Vector4f &color, float distance);
Expand Down

0 comments on commit 5335c9c

Please sign in to comment.