Skip to content

Commit

Permalink
Plane: Removed the now unused accessor/helper macros
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Mar 17, 2013
1 parent 39ce447 commit bd3bd35
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
16 changes: 0 additions & 16 deletions doomsday/client/include/map/plane.h
Expand Up @@ -31,22 +31,6 @@

class Sector;

/*
* Helper macros for accessing the Surface of a Plane:
*/
/// @addtogroup map
///@{
#define PS_base surface().soundEmitter()
#define PS_tangent surface().tangent()
#define PS_bitangent surface().bitangent()
#define PS_normal surface().normal()
#define PS_material surface().material()
#define PS_offset surface().materialOrigin()
#define PS_visoffset surface().visMaterialOrigin()
#define PS_rgba surface().colorAndAlpha()
#define PS_flags surface().flags()
///@}

/**
* Map sector plane.
*
Expand Down
2 changes: 1 addition & 1 deletion doomsday/client/src/render/rend_fakeradio.cpp
Expand Up @@ -1496,7 +1496,7 @@ void Rend_RadioBspLeafEdges(BspLeaf &bspLeaf)
vec[VZ] = vOrigin[VY] - plane.visHeight();

// Don't bother with planes facing away from the camera.
if(V3f_DotProduct(vec, plane.PS_normal) < 0) continue;
if(V3f_DotProduct(vec, plane.surface().normal()) < 0) continue;

doPlanes[pln] = true;
workToDo = true;
Expand Down

0 comments on commit bd3bd35

Please sign in to comment.