コード例 #1
0
ファイル: Math.cs プロジェクト: RubisetCie/box2c
 public Mat22 MulT(Mat22 m)
 {
     Vec2 c1 = new Vec2(Col1.Dot(m.Col1), Col2.Dot(m.Col1));
     Vec2 c2 = new Vec2(Col1.Dot(m.Col2), Col2.Dot(m.Col2));
     return new Mat22(c1, c2);
 }
コード例 #2
0
ファイル: Math.cs プロジェクト: RubisetCie/box2c
 public Transform(Vec2 position, Mat22 r)
     : this()
 {
     Position = position;
     R = r;
 }
コード例 #3
0
ファイル: Math.cs プロジェクト: prepare/box2c
 public Transform(Vec2 position, Mat22 r) :
     this()
 {
     Position = position;
     R        = r;
 }