mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Some converts of usage of Shapebase for Gamebase to make camera/control object swapping easier.
This commit is contained in:
parent
74a2005d15
commit
553cf260f1
2 changed files with 2 additions and 2 deletions
|
|
@ -339,7 +339,7 @@ bool GameProcessCameraQuery(CameraQuery *query)
|
|||
|
||||
if (connection && connection->getControlCameraTransform(0.032f, &query->cameraMatrix))
|
||||
{
|
||||
query->object = dynamic_cast<ShapeBase*>(connection->getControlObject());
|
||||
query->object = dynamic_cast<GameBase*>(connection->getCameraObject());
|
||||
query->nearPlane = gClientSceneGraph->getNearClip();
|
||||
|
||||
// Scale the normal visible distance by the performance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue