Oolite 1.91.0.7645-241119-222d325
Loading...
Searching...
No Matches
CollisionRegion.m File Reference
import "CollisionRegion.h"
import "OOMaths.h"
import "Universe.h"
import "Entity.h"
import "ShipEntity.h"
import "OOSunEntity.h"
import "OOPlanetEntity.h"
import "StationEntity.h"
import "PlayerEntity.h"
import "OODebugFlags.h"
+ Include dependency graph for CollisionRegion.m:

Go to the source code of this file.

Functions

static BOOL positionIsWithinRegion (HPVector position, CollisionRegion *region)
 
static BOOL sphereIsWithinRegion (HPVector position, GLfloat rad, CollisionRegion *region)
 
static BOOL positionIsWithinBorders (HPVector position, CollisionRegion *region)
 

Variables

static int crid_counter = 1
 

Function Documentation

◆ positionIsWithinBorders()

static BOOL positionIsWithinBorders ( HPVector position,
CollisionRegion * region )
static

◆ positionIsWithinRegion()

static BOOL positionIsWithinRegion ( HPVector position,
CollisionRegion * region )
static

◆ sphereIsWithinRegion()

static BOOL sphereIsWithinRegion ( HPVector position,
GLfloat rad,
CollisionRegion * region )
static

Variable Documentation

◆ crid_counter

int crid_counter = 1
static

Definition at line 46 of file CollisionRegion.m.

Referenced by CollisionRegion::addSubregionAtPosition:withRadius:.