Box2D.Common.Rot.Set C# (CSharp) Метод

Set() публичный Метод

public Set ( Rot other ) : Rot
other Rot
Результат 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);
 }