Constructor
new Ray(originnullable, endnullable)
Constructor
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
origin |
vec3 |
<nullable> |
null | Ray's origin |
end |
vec3 |
<nullable> |
null | Ray's end |
Members
Methods
set(origin, end)
Set ray
Parameters:
Name | Type | Description |
---|---|---|
origin |
vec3 | Ray's origin |
end |
vec3 | Ray's end |