|
resonance 1.0.1
|
Triangle prepared for one ray test. More...
#include <raytest.h>
Public Attributes | |
| float | mVertex [4] |
| float | mEdge1 [4] |
| float | mEdge2 [4] |
| float | mNormal [4] |
Triangle prepared for one ray test.
The caller assembles this on the stack immediately before the test, as four consecutive quadwords, which is why the call site writes four of them rather than passing three vertices. Only the first three components of each quadword carry data.
| float Rnd::TriangleTest::mVertex[4] |
First vertex. +0x00
| float Rnd::TriangleTest::mEdge1[4] |
Second vertex less the first. +0x10
| float Rnd::TriangleTest::mEdge2[4] |
Third vertex less the first. +0x20
| float Rnd::TriangleTest::mNormal[4] |
Cross product of the two edges. +0x30