Ray t: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Thunder4ik (talk | contribs) m (→See also: Unicodifying, replaced: See Also → See also) |
||
Line 13: | Line 13: | ||
</source> | </source> | ||
== See | == See also == | ||
http://en.wikipedia.org/wiki/Line_(mathematics)#Ray | http://en.wikipedia.org/wiki/Line_(mathematics)#Ray | ||
[[Category:Structures]] | [[Category:Structures]] | ||
[[Category:Helpers]] | [[Category:Helpers]] |
Revision as of 12:17, 8 January 2024
A structure that has a starting point, a direction and a length that represents a line that has a starting point, and extends infinitely in one direction.
Members
VectorAligned m_Start; // starting point, centered within the extents
VectorAligned m_Delta; // direction + length of the ray
VectorAligned m_StartOffset; // Add this to m_Start to get the actual ray start
VectorAligned m_Extents; // Describes an axis aligned box extruded along a ray
bool m_IsRay; // are the extents zero?
bool m_IsSwept; // is delta != 0?