How should XRRay.matrix be initialized for XRRay(transform)?
takahirox opened this issue · comments
Takahiro commented
In XRRay
section, it isn't mentioned how XRRay.matrix
should be initialized for XRRay(transform)
while it's mentioned for XRRay(origin, direction)
"Initialize ray’s matrix to null".
How should it be initialized for XRRay(transform)
? Copy transform.matrix
? Or set null
and lazily generate as XRRay(origin, direction)
does?
Manish Goregaokar commented
null as well, it's just null for lazy loading
Takahiro commented
Thanks. I'll make a PR to add it.