trySetDirectionMagnitudeInPlace Method
Try to scale the direction vector to a given magnitude
.
- Returns
false
if the ray direction is a zero vector.
trySetDirectionMagnitudeInPlace(magnitude: number1.0): boolean
Parameter | Type | Description |
---|---|---|
magnitude | number |
Returns - boolean
Defined in
- geometry3d/Ray3d.ts Line 301
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.