* Sets the vector's w component to the given value * * @param {number} w - The value to set. * @return {Vector4} A reference to this vector.
( w )
| 199 | * @return {Vector4} A reference to this vector. |
| 200 | */ |
| 201 | setW( w ) { |
| 202 | |
| 203 | this.w = w; |
| 204 | |
| 205 | return this; |
| 206 | |
| 207 | } |
| 208 | |
| 209 | /** |
| 210 | * Allows to set a vector component with an index. |
no outgoing calls
no test coverage detected