Skip to content

Commit

Permalink
Cleanup|Map Renderer|LightDecoration|Client: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Sep 12, 2013
1 parent fd9e8eb commit 2b7e51d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions doomsday/client/include/render/lightdecoration.h
Expand Up @@ -51,11 +51,6 @@ class LightDecoration : public Decoration, public Lumobj::Source
*/
static float brightFactor();

/**
* R
*/
de::Vector3d const &origin() const;

/**
* Calculates an occlusion factor for the light source. Determined by the
* relative position of the @a eye (the viewer) and the decoration.
Expand Down
5 changes: 0 additions & 5 deletions doomsday/client/src/render/lightdecoration.cpp
Expand Up @@ -40,11 +40,6 @@ LightDecoration::LightDecoration(MaterialSnapshotDecoration &source, const Vecto
: Source(), Decoration(source, origin)
{}

Vector3d const &LightDecoration::origin() const
{
return Decoration::origin();
}

float LightDecoration::occlusion(Vector3d const &eye) const
{
// Halo brightness drops as the angle gets too big.
Expand Down

0 comments on commit 2b7e51d

Please sign in to comment.