GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
SphereDistanceRenderable Class Reference
Inheritance diagram for SphereDistanceRenderable:
Collaboration diagram for SphereDistanceRenderable:

Public Member Functions

 SphereDistanceRenderable (Point center, float radius)
float distance (Point p) const
unsigned int color (Point p) const
Vector normal (Point p) const
Public Member Functions inherited from DistanceRenderable
virtual ~DistanceRenderable ()

Constructor & Destructor Documentation

◆ SphereDistanceRenderable()

SphereDistanceRenderable::SphereDistanceRenderable ( Point center,
float radius )
inline

Member Function Documentation

◆ color()

unsigned int SphereDistanceRenderable::color ( Point p) const
inlinevirtual

Implements DistanceRenderable.

◆ distance()

float SphereDistanceRenderable::distance ( Point p) const
inlinevirtual

Implements DistanceRenderable.

◆ normal()

Vector SphereDistanceRenderable::normal ( Point p) const
inlinevirtual

Implements DistanceRenderable.


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