molecular
Public Attributes | List of all members
molecular::util::AxisAlignedBox::LineIntersectionResult Struct Reference

#include <AxisAlignedBox.h>

Public Attributes

float fraction
 Fraction of the line between start and end where the box is hit. More...
 
int hitAxis
 
int hitDirection
 -1 if the box was hit on the minimum of hitAxis, 1 otherwise More...
 

Member Data Documentation

float molecular::util::AxisAlignedBox::LineIntersectionResult::fraction

Fraction of the line between start and end where the box is hit.

A negative value means no hit.

int molecular::util::AxisAlignedBox::LineIntersectionResult::hitAxis
int molecular::util::AxisAlignedBox::LineIntersectionResult::hitDirection

-1 if the box was hit on the minimum of hitAxis, 1 otherwise


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