Rasterfarm-SDK
Loading...
Searching...
No Matches
Physical::IntersectionData Class Reference

#include <physical.h>

Public Member Functions

 IntersectionData ()
 
 IntersectionData (float distance, const Vertex3f &vertex, const Vector3f &norm)
 

Public Attributes

float distance
 
Vertex3f vertex
 
Vector3f norm
 

Constructor & Destructor Documentation

◆ IntersectionData() [1/2]

Physical::IntersectionData::IntersectionData ( )

◆ IntersectionData() [2/2]

Physical::IntersectionData::IntersectionData ( float distance,
const Vertex3f & vertex,
const Vector3f & norm )

Member Data Documentation

◆ distance

float Physical::IntersectionData::distance

Distance to the closet-point. Values <= 0.0 imply an intersection.

◆ norm

Vector3f Physical::IntersectionData::norm

The normal of the closet-point of intersection.

◆ vertex

Vertex3f Physical::IntersectionData::vertex

The closet-point of intersection.


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