resonance 1.0.1
Loading...
Searching...
No Matches
Rnd::TriangleTest Struct Reference

Triangle prepared for one ray test. More...

#include <raytest.h>

Public Attributes

float mVertex [4]
float mEdge1 [4]
float mEdge2 [4]
float mNormal [4]

Detailed Description

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.

Member Data Documentation

◆ mVertex

float Rnd::TriangleTest::mVertex[4]

First vertex. +0x00

◆ mEdge1

float Rnd::TriangleTest::mEdge1[4]

Second vertex less the first. +0x10

◆ mEdge2

float Rnd::TriangleTest::mEdge2[4]

Third vertex less the first. +0x20

◆ mNormal

float Rnd::TriangleTest::mNormal[4]

Cross product of the two edges. +0x30


The documentation for this struct was generated from the following file: