diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-08-28 15:22:06 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-08-28 15:22:06 +0400 |
commit | ce70b6bf3b1543ec575e513947d04a34ff1368b9 (patch) | |
tree | f8a322cc82e2277b7232ca98f0a4ade1a44a5f71 /source/gameengine/GamePlayer/common/GPC_RenderTools.h | |
parent | 1aa359ab7bda681539a87bb6da5f1397b337e6eb (diff) |
Apricot Branch:
svn merge -r 16266:HEAD https://svn.blender.org/svnroot/bf-blender/trunk/blender
Diffstat (limited to 'source/gameengine/GamePlayer/common/GPC_RenderTools.h')
-rw-r--r-- | source/gameengine/GamePlayer/common/GPC_RenderTools.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_RenderTools.h b/source/gameengine/GamePlayer/common/GPC_RenderTools.h index 18401ce6577..382956e73ea 100644 --- a/source/gameengine/GamePlayer/common/GPC_RenderTools.h +++ b/source/gameengine/GamePlayer/common/GPC_RenderTools.h @@ -41,6 +41,7 @@ #include "BMF_Api.h" struct KX_ClientObjectInfo; +class KX_RayCast; /* BlenderRenderTools are a set of tools to apply 2D/3D graphics effects, which * are not part of the (polygon) Rasterizer. Effects like 2D text, 3D (polygon) @@ -89,7 +90,8 @@ public: void PushMatrix(); void PopMatrix(); - bool RayHit(KX_ClientObjectInfo* client, MT_Point3& hit_point, MT_Vector3& hit_normal, void * const data); + bool RayHit(KX_ClientObjectInfo* client, KX_RayCast* result, void * const data); + bool NeedRayCast(KX_ClientObjectInfo* client) { return true; } virtual void MotionBlur(RAS_IRasterizer* rasterizer); |