Constructor
new DefReflection3(normalize)
Default values
Parameters:
Name | Type | Default | Description |
---|---|---|---|
normalize |
Boolean | false | Whether the vector should be normalized |
- Source:
Methods
compute(createInfo) → {Object}
Computes the reflection
Parameters:
Name | Type | Description |
---|---|---|
createInfo |
CreateInfo | The creation info |
- Source:
Returns:
The reflection of type TYPE_VECTOR
- Type
- Object
(static) fromVectorNormal(params) → {CreateInfo}
Computes the reflection of a vector along a normal.
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
- Source:
Returns:
The creation info
- Type
- CreateInfo