Rise
The Vieneo Province
Loading...
Searching...
No Matches
ShipSurfaceLights Namespace Reference

Classes

struct  Frame
struct  Selection

Functions

Selection Select (const Frame &frame, const GeometryBounds &local, const RiseMath::Matrix &world)
float Facing (const RiseMath::Vector3 &position, const RiseMath::Vector3 &direction, const RiseMath::Vector3 &eye)
template<class Effects>
Frame Build (const Effects &effects, const RiseMath::Matrix &modelToWorld, unsigned long phase, float power, bool enabled)

Variables

constexpr unsigned MaxLights = 32
constexpr unsigned MaxSceneLights = 4

Function Documentation

◆ Build()

template<class Effects>
Frame ShipSurfaceLights::Build ( const Effects & effects,
const RiseMath::Matrix & modelToWorld,
unsigned long phase,
float power,
bool enabled )

Definition at line 81 of file ShipSurfaceLights.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Facing()

float ShipSurfaceLights::Facing ( const RiseMath::Vector3 & position,
const RiseMath::Vector3 & direction,
const RiseMath::Vector3 & eye )
inline

Definition at line 74 of file ShipSurfaceLights.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Select()

Selection ShipSurfaceLights::Select ( const Frame & frame,
const GeometryBounds & local,
const RiseMath::Matrix & world )
inline

Definition at line 24 of file ShipSurfaceLights.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ MaxLights

unsigned ShipSurfaceLights::MaxLights = 32
constexpr

Definition at line 11 of file ShipSurfaceLights.h.

◆ MaxSceneLights

unsigned ShipSurfaceLights::MaxSceneLights = 4
constexpr

Definition at line 12 of file ShipSurfaceLights.h.