CSceneViewport: Mark HoverPoint() as const
This doesn't modify internal member state.
This commit is contained in:
parent
602c0cf1e3
commit
fc4c0a6c58
|
@ -69,7 +69,7 @@ CSceneNode* CSceneViewport::HoverNode()
|
|||
return mpHoverNode;
|
||||
}
|
||||
|
||||
CVector3f CSceneViewport::HoverPoint()
|
||||
CVector3f CSceneViewport::HoverPoint() const
|
||||
{
|
||||
return mHoverPoint;
|
||||
}
|
||||
|
|
|
@ -61,7 +61,7 @@ public:
|
|||
FShowFlags ShowFlags() const;
|
||||
CRenderer* Renderer();
|
||||
CSceneNode* HoverNode();
|
||||
CVector3f HoverPoint();
|
||||
CVector3f HoverPoint() const;
|
||||
void CheckGizmoInput(const CRay& rkRay);
|
||||
SRayIntersection SceneRayCast(const CRay& rkRay);
|
||||
void ResetHover();
|
||||
|
|
Loading…
Reference in New Issue