C# 클래스 Box2DX.Common.Mat33

A 3-by-3 matrix. Stored in column-major order.
파일 보기 프로젝트 열기: KrugerHeavyIndustries/box2d-unity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Col1 System.Vector3
Col2 System.Vector3
Col3 System.Vector3

공개 메소드들

메소드 설명
Mat33 ( System.Vector3 c1, System.Vector3 c2, System.Vector3 c3 ) : System

Construct this matrix using columns.

SetZero ( ) : void

Set this matrix to all zeros.

Solve22 ( System.Vector2 b ) : System.Vector2

Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases. Solve only the upper 2-by-2 matrix equation.

Solve33 ( System.Vector3 b ) : System.Vector3

Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases.

메소드 상세

Mat33() 공개 메소드

Construct this matrix using columns.
public Mat33 ( System.Vector3 c1, System.Vector3 c2, System.Vector3 c3 ) : System
c1 System.Vector3
c2 System.Vector3
c3 System.Vector3
리턴 System

SetZero() 공개 메소드

Set this matrix to all zeros.
public SetZero ( ) : void
리턴 void

Solve22() 공개 메소드

Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases. Solve only the upper 2-by-2 matrix equation.
public Solve22 ( System.Vector2 b ) : System.Vector2
b System.Vector2
리턴 System.Vector2

Solve33() 공개 메소드

Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases.
public Solve33 ( System.Vector3 b ) : System.Vector3
b System.Vector3
리턴 System.Vector3

프로퍼티 상세

Col1 공개적으로 프로퍼티

public Vector3,System Col1
리턴 System.Vector3

Col2 공개적으로 프로퍼티

public Vector3,System Col2
리턴 System.Vector3

Col3 공개적으로 프로퍼티

public Vector3,System Col3
리턴 System.Vector3