Vector3
三次元ベクトルを扱うクラス
void | Vector3(void) |
void | Vector3(double) |
void | Vector3(double,double,double) |
this | add(double) |
this | add(Vector3) |
double | angle(Vector3) |
Vector3 | clone(void) |
this | cross(Vector3) |
double | distance(void) |
this | div(double) |
this | div(Vector3) |
double | dot(void) |
bool | equals(Vector3) |
double | length(void) |
this | mul(double) |
this | mul(Vector3) |
this | mul(Quaternion) |
this | mul(Matrix4) |
double | norm(void) |
this | normalize(void) |
this | sub(double) |
this | sub(Vector3) |
Property
double x; double y; double z;
Function
Vector3(void)
Vector3(double)
Vector3(double,double,double)
//example var v0 = Vector3(); var v1 = Vector3(1.0); var v2 = Vector3(0.0,0.0,1.0);
add(double)
return this
add(Vector3)
return this
angle(Vector3)
return double
clone(void)
return Vector3
cross(Vector3)
return this
distance(Vector3)
return double
div(double)
return this
div(Vector3)
return this
dot(Vector3)
return double
equals(Vector3)
return bool
length(void)
return double
mul(double)
return this
mul(Vector3)
return this
mul(Quaternion)
return this
mul(Matrix4)
return this
norm(void)
return double
normalize(void)
return this
sub(double)
return this
sub(Vector3)
return this