Twilight Princess
Remastered version of the GameCube game
Loading...
Searching...
No Matches
FAABox Struct Reference

Public Member Functions

 FAABox (Vector3 min, Vector3 max)
 
bool Contains (Vector3 point)
 
Vector3[] GetVertices ()
 
void ScaleBy (float amount)
 Scales the FAABox by the specified amount in each direction. This function changes the center of the FAABox.
 
void ScaleBy (Vector3 amount)
 Scales the FAABox by the specified amount in each direction. This function changes the center of the FAABox.
 
void Encapsulate (Vector3 point)
 
override string ToString ()
 

Properties

Vector3 Min [get]
 
Vector3 Max [get]
 
Vector3 Center [get]
 
Vector3 Extents [get]
 

Private Attributes

Vector3 m_min
 
Vector3 m_max
 

Constructor & Destructor Documentation

◆ FAABox()

FAABox.FAABox ( Vector3 min,
Vector3 max )

Member Function Documentation

◆ Contains()

bool FAABox.Contains ( Vector3 point)

◆ Encapsulate()

void FAABox.Encapsulate ( Vector3 point)

◆ GetVertices()

Vector3[] FAABox.GetVertices ( )

◆ ScaleBy() [1/2]

void FAABox.ScaleBy ( float amount)

Scales the FAABox by the specified amount in each direction. This function changes the center of the FAABox.

Parameters
amountAmount to uniformly scale the X, Y and Z axes by.

◆ ScaleBy() [2/2]

void FAABox.ScaleBy ( Vector3 amount)

Scales the FAABox by the specified amount in each direction. This function changes the center of the FAABox.

Parameters
amountAmounts to scale the min/max by on their X, Y, and Z axes.

◆ ToString()

override string FAABox.ToString ( )

Member Data Documentation

◆ m_max

Vector3 FAABox.m_max
private

◆ m_min

Vector3 FAABox.m_min
private

Property Documentation

◆ Center

Vector3 FAABox.Center
get

◆ Extents

Vector3 FAABox.Extents
get

◆ Max

Vector3 FAABox.Max
get

◆ Min

Vector3 FAABox.Min
get

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