Class: btVector4
Ammo.btVector4
Hierarchy
↳
btVector4
Constructors
Methods
Constructors
constructor
• new btVector4(): btVector4
Returns
Overrides
Defined in
• new btVector4(x
, y
, z
, w
): btVector4
Parameters
Name | Type |
---|---|
x | number |
y | number |
z | number |
w | number |
Returns
Overrides
Defined in
Methods
length
▸ length(): number
Returns
number
Inherited from
Defined in
x
▸ x(): number
Returns
number
Inherited from
Defined in
y
▸ y(): number
Returns
number
Inherited from
Defined in
z
▸ z(): number
Returns
number
Inherited from
Defined in
setX
▸ setX(x
): void
Parameters
Name | Type |
---|---|
x | number |
Returns
void
Inherited from
Defined in
setY
▸ setY(y
): void
Parameters
Name | Type |
---|---|
y | number |
Returns
void
Inherited from
Defined in
setZ
▸ setZ(z
): void
Parameters
Name | Type |
---|---|
z | number |
Returns
void
Inherited from
Defined in
normalize
▸ normalize(): void
Returns
void
Inherited from
Defined in
rotate
▸ rotate(wAxis
, angle
): btVector3
Parameters
Name | Type |
---|---|
wAxis | btVector3 |
angle | number |
Returns
Inherited from
Defined in
dot
▸ dot(v
): number
Parameters
Name | Type |
---|---|
v | btVector3 |
Returns
number
Inherited from
Defined in
op_mul
▸ op_mul(x
): btVector3
Parameters
Name | Type |
---|---|
x | number |
Returns
Inherited from
Defined in
op_add
▸ op_add(v
): btVector3
Parameters
Name | Type |
---|---|
v | btVector3 |
Returns
Inherited from
Defined in
op_sub
▸ op_sub(v
): btVector3
Parameters
Name | Type |
---|---|
v | btVector3 |
Returns
Inherited from
Defined in
w
▸ w(): number
Returns
number
Defined in
setValue
▸ setValue(x
, y
, z
): void
Parameters
Name | Type |
---|---|
x | number |
y | number |
z | number |
Returns
void
Overrides
Defined in
▸ setValue(x
, y
, z
, w
): void
Parameters
Name | Type |
---|---|
x | number |
y | number |
z | number |
w | number |
Returns
void
Overrides
btVector3.setValue