/// <summary> /// Returns a new pose with the position and scale of this pose /// and the added rotation of both /// </summary> public Pose2D AddRotation(Pose2D other) { return(new Pose2D(Position, Rotation + other.Rotation)); }
public Visual(Texture2D texture, Pose2D pose, Texture2D glow) { this.Texture = texture; this.Pose = pose; //this.Glow = glow; }
/// <summary> /// Returns a new pose with all components added /// </summary> public Pose2D AddAll(Pose2D other) { return(new Pose2D(Position + other.Position, Rotation + other.Rotation, Scale + other.Scale)); }
public Visual(Texture2D texture, Pose2D pose) : this(texture, pose, null) { }