Beispiel #1
0
 /// <summary>
 /// A static object constructor.
 /// </summary>
 /// <param name="scene">The scene this object belongs to.</param>
 /// <param name="material">The material of object.</param>
 /// <param name="position">The position of object.</param>
 /// <param name="orientation">The orientation of object.</param>
 /// <param name="shapes">Shapes, in local coordinates.
 /// The driver list the supported shapes. This shapes will be modified.</param>
 public StaticObject(PhysicsScene scene, Material material, Vector3d position,
                     Quaterniond orientation, params object[] shapes)
     : this(scene, material, Matrix4x4d.From(position, orientation), shapes)
 {
 }