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.
 

Public Attributes

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

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: