Ejemplo n.º 1
0
 public AGameObject(ARenderable2 model, Vector4 rotation, Vector4 possition, Vector3 center, float scale)
 {
     _model     = model;
     _rotation  = rotation;
     _possition = possition;
     _scale     = scale;
     quat       = Quaternion.Identity;
     _center    = center * scale;
     _center    = new Vector3(_center.X + possition.X, _center.Y + possition.Y, _center.Z + possition.Z);
 }
Ejemplo n.º 2
0
 public CowObject(ARenderable2 model, Vector4 rotation, Vector4 possition, Vector3 center, float scale = 1) : base(model, rotation, possition, center, scale)
 {
 }