mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-17 11:21:01 +00:00
Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/clusterCluck
# Conflicts: # Engine/source/gui/worldEditor/guiConvexShapeEditorCtrl.cpp # Engine/source/gui/worldEditor/guiConvexShapeEditorCtrl.h # Engine/source/scene/sceneContainer.h
This commit is contained in:
commit
eeb42632f5
3 changed files with 4 additions and 3 deletions
|
|
@ -1768,7 +1768,7 @@ void GuiConvexEditorCtrl::submitUndo( UndoType type, const Vector<ConvexShape*>
|
|||
mIsDirty = true;
|
||||
}
|
||||
|
||||
bool GuiConvexEditorCtrl::_cursorCastCallback(SceneObject* object)
|
||||
bool GuiConvexEditorCtrl::_cursorCastCallback( SceneObject* object )
|
||||
{
|
||||
// Reject anything that's not a ConvexShape.
|
||||
return dynamic_cast< ConvexShape* >( object );
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ protected:
|
|||
void _renderObject( ObjectRenderInst *ri, SceneRenderState *state, BaseMatInstance *matInst );
|
||||
|
||||
bool _cursorCast( const Gui3DMouseEvent &event, ConvexShape **hitShape, S32 *hitFace );
|
||||
static bool _cursorCastCallback(SceneObject* object);
|
||||
static bool _cursorCastCallback( SceneObject* object );
|
||||
|
||||
protected:
|
||||
|
||||
|
|
|
|||
|
|
@ -668,7 +668,8 @@ class SceneContainer
|
|||
/// @name Line intersection
|
||||
/// @{
|
||||
|
||||
typedef bool ( *CastRayCallback )(SceneObject* object);
|
||||
|
||||
typedef bool ( *CastRayCallback )( SceneObject* object );
|
||||
|
||||
/// Test against collision geometry -- fast.
|
||||
bool castRay( const Point3F &start, const Point3F &end, U32 mask, RayInfo* info, CastRayCallback callback = NULL );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue