Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
ShapeFunctions Class Reference

Function table for functions on shapes. More...

#include <Shape.h>

Static Public Member Functions

static ShapeFunctionssGet (EShapeSubType inSubType)
 Get an entry in the registry for a particular sub type. More...
 

Public Attributes

Shape *(* mConstruct )() = nullptr
 Construct a shape. More...
 
Color mColor = Color::sBlack
 Color of the shape when drawing. More...
 

Detailed Description

Function table for functions on shapes.

Member Function Documentation

◆ sGet()

static ShapeFunctions & ShapeFunctions::sGet ( EShapeSubType  inSubType)
inlinestatic

Get an entry in the registry for a particular sub type.

Member Data Documentation

◆ mColor

Color ShapeFunctions::mColor = Color::sBlack

Color of the shape when drawing.

◆ mConstruct

Shape *(* ShapeFunctions::mConstruct) () = nullptr

Construct a shape.


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