mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Change access levels from private to protected to facilitate
subclassing; also add new method signatures. Thanks tuco and mikkopa. Fix Mantis #3072.
This commit is contained in:
@@ -213,6 +213,9 @@ namespace OpenSim.Region.Physics.Manager
|
||||
public abstract void SubscribeEvents(int ms);
|
||||
public abstract void UnSubscribeEvents();
|
||||
public abstract bool SubscribedEvents();
|
||||
|
||||
public virtual void SetCollisionMesh(byte[] meshdata, string meshname, bool scalemesh) { }
|
||||
public virtual void SetBoundsScaling(bool scalemesh) { }
|
||||
}
|
||||
|
||||
public class NullPhysicsActor : PhysicsActor
|
||||
|
||||
@@ -152,6 +152,12 @@ namespace OpenSim.Region.Physics.Manager
|
||||
|
||||
public abstract bool IsThreaded { get; }
|
||||
|
||||
public virtual uint Raycast(PhysicsVector pos, PhysicsVector dir, float rayLength, uint ignoreId)
|
||||
{ return 0; }
|
||||
|
||||
public virtual void SetMaxFlightHeight(float maxheight) { }
|
||||
|
||||
|
||||
private class NullPhysicsScene : PhysicsScene
|
||||
{
|
||||
private static int m_workIndicator;
|
||||
|
||||
Reference in New Issue
Block a user