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); }
public CowObject(ARenderable2 model, Vector4 rotation, Vector4 possition, Vector3 center, float scale = 1) : base(model, rotation, possition, center, scale) { }