Oolite 1.91.0.7604-240417-a536cbe
Loading...
Searching...
No Matches
Classes | Macros | Functions
CollisionRegion.h File Reference
import "OOCocoa.h"
import "OOMaths.h"
+ Include dependency graph for CollisionRegion.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CollisionRegion
 

Macros

#define COLLISION_REGION_BORDER_RADIUS   32000.0f
 
#define COLLISION_MAX_ENTITIES   128
 
#define MINIMUM_SHADOWING_ENTITY_RADIUS   75.0
 

Functions

BOOL shadowAtPointOcclusionToValue (HPVector e1pos, GLfloat e1rad, Entity *e2, OOSunEntity *the_sun, float *outValue)
 

Macro Definition Documentation

◆ COLLISION_MAX_ENTITIES

#define COLLISION_MAX_ENTITIES   128

Definition at line 33 of file CollisionRegion.h.

Referenced by CollisionRegion::addSubregionAtPosition:withRadius:.

◆ COLLISION_REGION_BORDER_RADIUS

#define COLLISION_REGION_BORDER_RADIUS   32000.0f

Definition at line 32 of file CollisionRegion.h.

◆ MINIMUM_SHADOWING_ENTITY_RADIUS

#define MINIMUM_SHADOWING_ENTITY_RADIUS   75.0

Definition at line 34 of file CollisionRegion.h.

Function Documentation

◆ shadowAtPointOcclusionToValue()

BOOL shadowAtPointOcclusionToValue ( HPVector e1pos,
GLfloat e1rad,
Entity * e2,
OOSunEntity * the_sun,
float * outValue )

Referenced by CollisionRegion::entityByEntityOcclusionToValue.

+ Here is the caller graph for this function: