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

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

Member Function Documentation

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

Member Data Documentation

u32 JumpPointCache::RowTree::Interval::data

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