diff --git a/doomsday/client/include/map/plane.h b/doomsday/client/include/map/plane.h index 5219f0071f..b596039b97 100644 --- a/doomsday/client/include/map/plane.h +++ b/doomsday/client/include/map/plane.h @@ -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. * diff --git a/doomsday/client/src/render/rend_fakeradio.cpp b/doomsday/client/src/render/rend_fakeradio.cpp index a31382413e..a32360217b 100644 --- a/doomsday/client/src/render/rend_fakeradio.cpp +++ b/doomsday/client/src/render/rend_fakeradio.cpp @@ -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;