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;
|
return mpHoverNode;
|
||||||
}
|
}
|
||||||
|
|
||||||
CVector3f CSceneViewport::HoverPoint()
|
CVector3f CSceneViewport::HoverPoint() const
|
||||||
{
|
{
|
||||||
return mHoverPoint;
|
return mHoverPoint;
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,7 +61,7 @@ public:
|
||||||
FShowFlags ShowFlags() const;
|
FShowFlags ShowFlags() const;
|
||||||
CRenderer* Renderer();
|
CRenderer* Renderer();
|
||||||
CSceneNode* HoverNode();
|
CSceneNode* HoverNode();
|
||||||
CVector3f HoverPoint();
|
CVector3f HoverPoint() const;
|
||||||
void CheckGizmoInput(const CRay& rkRay);
|
void CheckGizmoInput(const CRay& rkRay);
|
||||||
SRayIntersection SceneRayCast(const CRay& rkRay);
|
SRayIntersection SceneRayCast(const CRay& rkRay);
|
||||||
void ResetHover();
|
void ResetHover();
|
||||||
|
|
Loading…
Reference in New Issue