Box2D.Common.Rot.Set C# (CSharp) Method

Set() public method

public Set ( Rot other ) : Rot
other Rot
return Rot
        public Rot Set(Rot other)
        {
            Sin = other.Sin;
            Cos = other.Cos;
            return this;
        }

Same methods

Rot::Set ( float angle ) : Rot

Usage Example

示例#1
0
 /// <summary>
 /// Set this to equal another transform.
 /// </summary>
 public Transform Set(Transform xf)
 {
     P.Set(xf.P);
     Q.Set(xf.Q);
     return(this);
 }