Ray constructor
Ray({
- StructPointer<
Ray> ? op, - Vector3? position,
- Vector3? direction,
Implementation
Ray({
super.op,
Vector3? position,
Vector3? direction
}) :
_position = position ?? .zero(),
_direction = direction ?? .zero();