C# 클래스 Box2DX.Common.Vec3

A 2D column vector with 3 elements.
파일 보기 프로젝트 열기: danielpcox/Crisis-at-Swiss-Station 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
X float

공개 메소드들

메소드 설명
Cross ( Vec3 a, Vec3 b ) : Vec3

Perform the cross product on two vectors.

Dot ( Vec3 a, Vec3 b ) : float

Perform the dot product on two vectors.

Set ( float x, float y, float z ) : void

Set this vector to some specified coordinates.

SetZero ( ) : void

Set this vector to all zeros.

Vec3 ( float x, float y, float z ) : System

Construct using coordinates.

operator ( ) : Vec3

Multiply this vector by a scalar.

메소드 상세

Cross() 공개 정적인 메소드

Perform the cross product on two vectors.
public static Cross ( Vec3 a, Vec3 b ) : Vec3
a Vec3
b Vec3
리턴 Vec3

Dot() 공개 정적인 메소드

Perform the dot product on two vectors.
public static Dot ( Vec3 a, Vec3 b ) : float
a Vec3
b Vec3
리턴 float

Set() 공개 메소드

Set this vector to some specified coordinates.
public Set ( float x, float y, float z ) : void
x float
y float
z float
리턴 void

SetZero() 공개 메소드

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

Vec3() 공개 메소드

Construct using coordinates.
public Vec3 ( float x, float y, float z ) : System
x float
y float
z float
리턴 System

operator() 공개 정적인 메소드

Multiply this vector by a scalar.
public static operator ( ) : Vec3
리턴 Vec3

프로퍼티 상세

X 공개적으로 프로퍼티

public float X
리턴 float