Pyrogenesis  trunk
Public Member Functions | Public Attributes | List of all members
JumpPointCache::RowTree::Interval Struct Reference

Represents an interval [u15 x0, u16 x1) with a boolean obstruction flag, packed into a single u32. More...

Public Member Functions

 Interval ()
 
 Interval (int x0, int x1, bool obstruction)
 
int x0 ()
 
int x1 ()
 
bool obstruction ()
 

Public Attributes

u32 data
 

Detailed Description

Represents an interval [u15 x0, u16 x1) with a boolean obstruction flag, packed into a single u32.

Constructor & Destructor Documentation

◆ Interval() [1/2]

JumpPointCache::RowTree::Interval::Interval ( )
inline

◆ Interval() [2/2]

JumpPointCache::RowTree::Interval::Interval ( int  x0,
int  x1,
bool  obstruction 
)
inline

Member Function Documentation

◆ obstruction()

bool JumpPointCache::RowTree::Interval::obstruction ( )
inline

◆ x0()

int JumpPointCache::RowTree::Interval::x0 ( )
inline

◆ x1()

int JumpPointCache::RowTree::Interval::x1 ( )
inline

Member Data Documentation

◆ data

u32 JumpPointCache::RowTree::Interval::data

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