Gamp v0.0.8
Gamp: Graphics, Audio, Multimedia and Processing
Loading...
Searching...
No Matches
Shape Class Reference

#include <GraphRegion.hpp>

Inheritance diagram for Shape:
Collaboration diagram for Shape:

Public Member Functions

 Shape (GLenum type, ShaderState &st, GLUniformSyncPMVMat4f &pmvMatU, GLUniformVec4f &color)
 
 Shape (Private, GraphRenderer &renderer)
 
 Shape (Private, GraphRenderer &renderer)
 
 Shape (Private, GraphRenderer &renderer)
 
 Shape (Private, ShaderState &st, GLUniformSyncPMVMat4f &pmvMatU, GLUniformVec4f &color)
 
 Shape (Private, ShaderState &st, GraphRenderer &renderer)
 
virtual ~Shape () noexcept=default
 
const AABBox3fbounds () const noexcept
 
virtual void clear (GL &gl)
 
const Vec4fcolor () const noexcept
 
const Vec4fcolor () const noexcept
 
const Vec4fcolor () const noexcept
 
const Vec4fcolor () const noexcept
 
const Vec4fcolor () const noexcept
 
const Vec4fcolor () const noexcept
 
void destroy (GL &gl)
 
void destroy (GL &gl)
 
void destroy (GL &gl)
 
virtual void destroy (GL &gl)
 
void draw (GL &gl)
 
void draw (GL &gl)
 
void draw (GL &gl)
 
void draw (GL &gl)
 
void draw (GL &gl)
 
void draw (GL &gl)
 
constexpr const OutlineShapeoutlineShape () const noexcept
 
constexpr const OutlineShapeoutlineShape () const noexcept
 
constexpr OutlineShapeoutlineShape () noexcept
 
constexpr OutlineShapeoutlineShape () noexcept
 
constexpr const std::vector< OutlineShape > & outlineShapes () const noexcept
 
constexpr const std::vector< OutlineShape > & outlineShapes () const noexcept
 
constexpr const std::vector< OutlineShape > & outlineShapes () const noexcept
 
constexpr std::vector< OutlineShape > & outlineShapes () noexcept
 
constexpr std::vector< OutlineShape > & outlineShapes () noexcept
 
constexpr std::vector< OutlineShape > & outlineShapes () noexcept
 
constexpr const Vec3fposition () const noexcept
 
constexpr const Vec3fposition () const noexcept
 
constexpr const Vec3fposition () const noexcept
 
constexpr const Vec3fposition () const noexcept
 
constexpr const Vec3fposition () const noexcept
 
constexpr const Vec3fposition () const noexcept
 
constexpr Vec3fposition () noexcept
 
constexpr Vec3fposition () noexcept
 
constexpr Vec3fposition () noexcept
 
constexpr Vec3fposition () noexcept
 
constexpr Vec3fposition () noexcept
 
constexpr Vec3fposition () noexcept
 
constexpr const Quat4frotation () const noexcept
 
constexpr const Quat4frotation () const noexcept
 
constexpr const Quat4frotation () const noexcept
 
constexpr const Quat4frotation () const noexcept
 
constexpr const Quat4frotation () const noexcept
 
constexpr const Quat4frotation () const noexcept
 
constexpr Quat4frotation () noexcept
 
constexpr Quat4frotation () noexcept
 
constexpr Quat4frotation () noexcept
 
constexpr Quat4frotation () noexcept
 
constexpr Quat4frotation () noexcept
 
constexpr Quat4frotation () noexcept
 
constexpr const Vec3frotationPivot () const noexcept
 
constexpr const Vec3frotationPivot () const noexcept
 
constexpr const Vec3frotationPivot () const noexcept
 
constexpr const Vec3frotationPivot () const noexcept
 
constexpr const Vec3frotationPivot () const noexcept
 
constexpr Vec3frotationPivot () noexcept
 
constexpr Vec3frotationPivot () noexcept
 
constexpr Vec3frotationPivot () noexcept
 
constexpr Vec3frotationPivot () noexcept
 
constexpr Vec3frotationPivot () noexcept
 
constexpr const Vec3fscale () const noexcept
 
constexpr const Vec3fscale () const noexcept
 
constexpr const Vec3fscale () const noexcept
 
constexpr const Vec3fscale () const noexcept
 
constexpr const Vec3fscale () const noexcept
 
constexpr Vec3fscale () noexcept
 
constexpr Vec3fscale () noexcept
 
constexpr Vec3fscale () noexcept
 
constexpr Vec3fscale () noexcept
 
constexpr Vec3fscale () noexcept
 
void seal (GL &gl, bool seal)
 
constexpr void set_position (Vec3f new_pos) noexcept
 
constexpr void set_position (Vec3f new_pos) noexcept
 
constexpr void set_position (Vec3f new_pos) noexcept
 
void setColor (const Vec4f &c) noexcept
 
void setColor (const Vec4f &c) noexcept
 
void setColor (const Vec4f &c) noexcept
 
void setColor (const Vec4f &c) noexcept
 
void setColor (const Vec4f &c) noexcept
 
void setColor (const Vec4f &c) noexcept
 
const SpatialStatespatialState () const noexcept
 
SpatialStatespatialState () noexcept
 
void tick (float dt)
 Game ..
 
void tick (float dt)
 Game ..
 
virtual void tick (float)
 
void update (GL &gl)
 
void update (GL &gl)
 
void update (GL &gl)
 
void update (GL &gl)
 
void update (GL &gl)
 
float & velo () noexcept
 
float & velo () noexcept
 
constexpr const GLFloatArrayDataServerSRefvertices () const noexcept
 
constexpr GLFloatArrayDataServerSRefvertices () noexcept
 
constexpr const float & zOffset () const noexcept
 
constexpr const float & zOffset () const noexcept
 
constexpr const float & zOffset () const noexcept
 
constexpr const float & zOffset () const noexcept
 
constexpr const float & zOffset () const noexcept
 
constexpr float & zOffset () noexcept
 
constexpr float & zOffset () noexcept
 
constexpr float & zOffset () noexcept
 
constexpr float & zOffset () noexcept
 
constexpr float & zOffset () noexcept
 

Static Public Member Functions

static ShapeRef createShared (GraphRenderer &renderer)
 
static ShapeRef createShared (GraphRenderer &renderer)
 
static ShapeRef createShared (GraphRenderer &renderer)
 
static ShapeRef createShared (ShaderState &st, GLUniformSyncPMVMat4f &pmvMatU, GLUniformVec4f &color)
 
static ShapeRef createShared (ShaderState &st, GraphRenderer &renderer)
 

Protected Member Functions

void resetSpatial () noexcept
 

Detailed Description

Constructor & Destructor Documentation

◆ Shape() [1/6]

Shape::Shape ( Private ,
ShaderState & st,
GraphRenderer & renderer )
inline
Examples
GraphShapes01.cpp, Primitives02.cpp, and PrimitivesCobraMK3.cpp.

Definition at line 463 of file GraphShapes01.cpp.

Here is the caller graph for this function:

◆ Shape() [2/6]

Shape::Shape ( Private ,
GraphRenderer & renderer )
inline

Definition at line 466 of file GraphShapes02.cpp.

◆ Shape() [3/6]

Shape::Shape ( GLenum type,
ShaderState & st,
GLUniformSyncPMVMat4f & pmvMatU,
GLUniformVec4f & color )
inline

Definition at line 60 of file Primitives01.cpp.

◆ Shape() [4/6]

Shape::Shape ( Private ,
ShaderState & st,
GLUniformSyncPMVMat4f & pmvMatU,
GLUniformVec4f & color )
inline

Definition at line 83 of file Primitives02.cpp.

◆ Shape() [5/6]

Shape::Shape ( Private ,
GraphRenderer & renderer )
inline

Definition at line 437 of file PrimitivesCobraMK3.cpp.

◆ ~Shape()

virtual Shape::~Shape ( )
virtualdefaultnoexcept

◆ Shape() [6/6]

Shape::Shape ( Private ,
GraphRenderer & renderer )
inline

Definition at line 455 of file GraphRegion.hpp.

Member Function Documentation

◆ createShared() [1/5]

static ShapeRef Shape::createShared ( ShaderState & st,
GraphRenderer & renderer )
inlinestatic
Examples
GraphShapes01.cpp, Primitives02.cpp, and PrimitivesCobraMK3.cpp.

Definition at line 470 of file GraphShapes01.cpp.

Here is the caller graph for this function:

◆ destroy() [1/4]

void Shape::destroy ( GL & gl)
inline
Examples
GraphShapes01.cpp, and PrimitivesCobraMK3.cpp.

Definition at line 474 of file GraphShapes01.cpp.

Here is the caller graph for this function:

◆ position() [1/12]

const Vec3f & Shape::position ( ) const
inlineconstexprnoexcept
Examples
GraphShapes01.cpp, Primitives02.cpp, and PrimitivesCobraMK3.cpp.

Definition at line 478 of file GraphShapes01.cpp.

Here is the caller graph for this function:

◆ position() [2/12]

Vec3f & Shape::position ( )
inlineconstexprnoexcept

Definition at line 479 of file GraphShapes01.cpp.

◆ zOffset() [1/10]

const float & Shape::zOffset ( ) const
inlineconstexprnoexcept

◆ zOffset() [2/10]

float & Shape::zOffset ( )
inlineconstexprnoexcept

Definition at line 482 of file GraphShapes01.cpp.

◆ rotation() [1/12]

const Quat4f & Shape::rotation ( ) const
inlineconstexprnoexcept
Examples
GraphShapes01.cpp, Primitives02.cpp, and PrimitivesCobraMK3.cpp.

Definition at line 484 of file GraphShapes01.cpp.

Here is the caller graph for this function:

◆ rotation() [2/12]

Quat4f & Shape::rotation ( )
inlineconstexprnoexcept

Definition at line 485 of file GraphShapes01.cpp.

◆ rotationPivot() [1/10]

const Vec3f & Shape::rotationPivot ( ) const
inlineconstexprnoexcept

◆ rotationPivot() [2/10]

Vec3f & Shape::rotationPivot ( )
inlineconstexprnoexcept

Definition at line 488 of file GraphShapes01.cpp.

◆ scale() [1/10]

const Vec3f & Shape::scale ( ) const
inlineconstexprnoexcept
Examples
GraphShapes01.cpp, Primitives02.cpp, and PrimitivesCobraMK3.cpp.

Definition at line 490 of file GraphShapes01.cpp.

Here is the caller graph for this function:

◆ scale() [2/10]

Vec3f & Shape::scale ( )
inlineconstexprnoexcept

Definition at line 491 of file GraphShapes01.cpp.

◆ outlineShape() [1/4]

const OutlineShape & Shape::outlineShape ( ) const
inlineconstexprnoexcept
Examples
GraphShapes01.cpp, and Primitives02.cpp.

Definition at line 493 of file GraphShapes01.cpp.

Here is the caller graph for this function:

◆ outlineShape() [2/4]

OutlineShape & Shape::outlineShape ( )
inlineconstexprnoexcept

Definition at line 494 of file GraphShapes01.cpp.

◆ color() [1/6]

const Vec4f & Shape::color ( ) const
inlinenoexcept
Examples
GraphShapes01.cpp, Primitives02.cpp, and PrimitivesCobraMK3.cpp.

Definition at line 496 of file GraphShapes01.cpp.

Here is the caller graph for this function:

◆ setColor() [1/6]

void Shape::setColor ( const Vec4f & c)
inlinenoexcept
Examples
GraphShapes01.cpp, Primitives02.cpp, and PrimitivesCobraMK3.cpp.

Definition at line 497 of file GraphShapes01.cpp.

Here is the caller graph for this function:

◆ update() [1/5]

void Shape::update ( GL & gl)
inline
Examples
GraphShapes01.cpp, Primitives02.cpp, and PrimitivesCobraMK3.cpp.

Definition at line 499 of file GraphShapes01.cpp.

Here is the caller graph for this function:

◆ draw() [1/6]

void Shape::draw ( GL & gl)
inline

◆ createShared() [2/5]

static ShapeRef Shape::createShared ( GraphRenderer & renderer)
inlinestatic

Definition at line 472 of file GraphShapes02.cpp.

◆ destroy() [2/4]

void Shape::destroy ( GL & gl)
inline

Definition at line 476 of file GraphShapes02.cpp.

◆ position() [3/12]

const Vec3f & Shape::position ( ) const
inlineconstexprnoexcept

Definition at line 480 of file GraphShapes02.cpp.

◆ position() [4/12]

Vec3f & Shape::position ( )
inlineconstexprnoexcept

Definition at line 481 of file GraphShapes02.cpp.

◆ set_position() [1/3]

void Shape::set_position ( Vec3f new_pos)
inlineconstexprnoexcept
Examples
PrimitivesCobraMK3.cpp.

Definition at line 482 of file GraphShapes02.cpp.

◆ zOffset() [3/10]

const float & Shape::zOffset ( ) const
inlineconstexprnoexcept

Definition at line 484 of file GraphShapes02.cpp.

◆ zOffset() [4/10]

float & Shape::zOffset ( )
inlineconstexprnoexcept

Definition at line 485 of file GraphShapes02.cpp.

◆ rotation() [3/12]

const Quat4f & Shape::rotation ( ) const
inlineconstexprnoexcept

Definition at line 487 of file GraphShapes02.cpp.

◆ rotation() [4/12]

Quat4f & Shape::rotation ( )
inlineconstexprnoexcept

Definition at line 488 of file GraphShapes02.cpp.

◆ rotationPivot() [3/10]

const Vec3f & Shape::rotationPivot ( ) const
inlineconstexprnoexcept

Definition at line 490 of file GraphShapes02.cpp.

◆ rotationPivot() [4/10]

Vec3f & Shape::rotationPivot ( )
inlineconstexprnoexcept

Definition at line 491 of file GraphShapes02.cpp.

◆ scale() [3/10]

const Vec3f & Shape::scale ( ) const
inlineconstexprnoexcept

Definition at line 493 of file GraphShapes02.cpp.

◆ scale() [4/10]

Vec3f & Shape::scale ( )
inlineconstexprnoexcept

Definition at line 494 of file GraphShapes02.cpp.

◆ outlineShapes() [1/6]

const std::vector< OutlineShape > & Shape::outlineShapes ( ) const
inlineconstexprnoexcept
Examples
PrimitivesCobraMK3.cpp.

Definition at line 496 of file GraphShapes02.cpp.

Here is the caller graph for this function:

◆ outlineShapes() [2/6]

std::vector< OutlineShape > & Shape::outlineShapes ( )
inlineconstexprnoexcept

Definition at line 497 of file GraphShapes02.cpp.

◆ color() [2/6]

const Vec4f & Shape::color ( ) const
inlinenoexcept

Definition at line 499 of file GraphShapes02.cpp.

◆ setColor() [2/6]

void Shape::setColor ( const Vec4f & c)
inlinenoexcept

Definition at line 500 of file GraphShapes02.cpp.

◆ update() [2/5]

void Shape::update ( GL & gl)
inline

Definition at line 502 of file GraphShapes02.cpp.

◆ draw() [2/6]

void Shape::draw ( GL & gl)
inline

Definition at line 509 of file GraphShapes02.cpp.

◆ tick() [1/3]

void Shape::tick ( float dt)
inline

Game ..

Examples
PrimitivesCobraMK3.cpp.

Definition at line 522 of file GraphShapes02.cpp.

◆ velo() [1/2]

float & Shape::velo ( )
inlinenoexcept

Definition at line 533 of file GraphShapes02.cpp.

◆ position() [5/12]

const Vec3f & Shape::position ( ) const
inlineconstexprnoexcept

Definition at line 69 of file Primitives01.cpp.

◆ position() [6/12]

Vec3f & Shape::position ( )
inlineconstexprnoexcept

Definition at line 70 of file Primitives01.cpp.

◆ rotation() [5/12]

const Quat4f & Shape::rotation ( ) const
inlineconstexprnoexcept

Definition at line 72 of file Primitives01.cpp.

◆ rotation() [6/12]

Quat4f & Shape::rotation ( )
inlineconstexprnoexcept

Definition at line 73 of file Primitives01.cpp.

◆ vertices() [1/2]

const GLFloatArrayDataServerSRef & Shape::vertices ( ) const
inlineconstexprnoexcept

Definition at line 75 of file Primitives01.cpp.

◆ vertices() [2/2]

GLFloatArrayDataServerSRef & Shape::vertices ( )
inlineconstexprnoexcept

Definition at line 76 of file Primitives01.cpp.

◆ color() [3/6]

const Vec4f & Shape::color ( ) const
inlinenoexcept

Definition at line 78 of file Primitives01.cpp.

◆ setColor() [3/6]

void Shape::setColor ( const Vec4f & c)
inlinenoexcept

Definition at line 79 of file Primitives01.cpp.

◆ seal()

void Shape::seal ( GL & gl,
bool seal )
inline

Definition at line 81 of file Primitives01.cpp.

Here is the caller graph for this function:

◆ draw() [3/6]

void Shape::draw ( GL & gl)
inline

Definition at line 84 of file Primitives01.cpp.

◆ createShared() [3/5]

static ShapeRef Shape::createShared ( ShaderState & st,
GLUniformSyncPMVMat4f & pmvMatU,
GLUniformVec4f & color )
inlinestatic

Definition at line 93 of file Primitives02.cpp.

◆ position() [7/12]

const Vec3f & Shape::position ( ) const
inlineconstexprnoexcept

Definition at line 97 of file Primitives02.cpp.

◆ position() [8/12]

Vec3f & Shape::position ( )
inlineconstexprnoexcept

Definition at line 98 of file Primitives02.cpp.

◆ zOffset() [5/10]

const float & Shape::zOffset ( ) const
inlineconstexprnoexcept

Definition at line 100 of file Primitives02.cpp.

◆ zOffset() [6/10]

float & Shape::zOffset ( )
inlineconstexprnoexcept

Definition at line 101 of file Primitives02.cpp.

◆ rotation() [7/12]

const Quat4f & Shape::rotation ( ) const
inlineconstexprnoexcept

Definition at line 103 of file Primitives02.cpp.

◆ rotation() [8/12]

Quat4f & Shape::rotation ( )
inlineconstexprnoexcept

Definition at line 104 of file Primitives02.cpp.

◆ rotationPivot() [5/10]

const Vec3f & Shape::rotationPivot ( ) const
inlineconstexprnoexcept

Definition at line 106 of file Primitives02.cpp.

◆ rotationPivot() [6/10]

Vec3f & Shape::rotationPivot ( )
inlineconstexprnoexcept

Definition at line 107 of file Primitives02.cpp.

◆ scale() [5/10]

const Vec3f & Shape::scale ( ) const
inlineconstexprnoexcept

Definition at line 109 of file Primitives02.cpp.

◆ scale() [6/10]

Vec3f & Shape::scale ( )
inlineconstexprnoexcept

Definition at line 110 of file Primitives02.cpp.

◆ outlineShape() [3/4]

const OutlineShape & Shape::outlineShape ( ) const
inlineconstexprnoexcept

Definition at line 112 of file Primitives02.cpp.

◆ outlineShape() [4/4]

OutlineShape & Shape::outlineShape ( )
inlineconstexprnoexcept

Definition at line 113 of file Primitives02.cpp.

◆ color() [4/6]

const Vec4f & Shape::color ( ) const
inlinenoexcept

Definition at line 115 of file Primitives02.cpp.

◆ setColor() [4/6]

void Shape::setColor ( const Vec4f & c)
inlinenoexcept

Definition at line 116 of file Primitives02.cpp.

◆ update() [3/5]

void Shape::update ( GL & gl)
inline

Definition at line 118 of file Primitives02.cpp.

◆ draw() [4/6]

void Shape::draw ( GL & gl)
inline

Definition at line 124 of file Primitives02.cpp.

◆ resetSpatial()

void Shape::resetSpatial ( )
inlineprotectednoexcept
Examples
PrimitivesCobraMK3.cpp.

Definition at line 431 of file PrimitivesCobraMK3.cpp.

Here is the caller graph for this function:

◆ createShared() [4/5]

static ShapeRef Shape::createShared ( GraphRenderer & renderer)
inlinestatic

Definition at line 442 of file PrimitivesCobraMK3.cpp.

◆ destroy() [3/4]

virtual void Shape::destroy ( GL & gl)
inlinevirtual

Reimplemented in Ship.

Definition at line 446 of file PrimitivesCobraMK3.cpp.

◆ clear()

virtual void Shape::clear ( GL & gl)
inlinevirtual

Reimplemented in Ship.

Examples
PrimitivesCobraMK3.cpp.

Definition at line 449 of file PrimitivesCobraMK3.cpp.

Here is the caller graph for this function:

◆ spatialState() [1/2]

const SpatialState & Shape::spatialState ( ) const
inlinenoexcept
Examples
PrimitivesCobraMK3.cpp.

Definition at line 456 of file PrimitivesCobraMK3.cpp.

◆ spatialState() [2/2]

SpatialState & Shape::spatialState ( )
inlinenoexcept

Definition at line 457 of file PrimitivesCobraMK3.cpp.

◆ bounds()

const AABBox3f & Shape::bounds ( ) const
inlinenoexcept
Examples
PrimitivesCobraMK3.cpp.

Definition at line 458 of file PrimitivesCobraMK3.cpp.

◆ position() [9/12]

const Vec3f & Shape::position ( ) const
inlineconstexprnoexcept

Definition at line 460 of file PrimitivesCobraMK3.cpp.

◆ position() [10/12]

Vec3f & Shape::position ( )
inlineconstexprnoexcept

Definition at line 461 of file PrimitivesCobraMK3.cpp.

◆ set_position() [2/3]

void Shape::set_position ( Vec3f new_pos)
inlineconstexprnoexcept

Definition at line 462 of file PrimitivesCobraMK3.cpp.

◆ zOffset() [7/10]

const float & Shape::zOffset ( ) const
inlineconstexprnoexcept

Definition at line 464 of file PrimitivesCobraMK3.cpp.

◆ zOffset() [8/10]

float & Shape::zOffset ( )
inlineconstexprnoexcept

Definition at line 465 of file PrimitivesCobraMK3.cpp.

◆ rotation() [9/12]

const Quat4f & Shape::rotation ( ) const
inlineconstexprnoexcept

Definition at line 467 of file PrimitivesCobraMK3.cpp.

◆ rotation() [10/12]

Quat4f & Shape::rotation ( )
inlineconstexprnoexcept

Definition at line 468 of file PrimitivesCobraMK3.cpp.

◆ rotationPivot() [7/10]

const Vec3f & Shape::rotationPivot ( ) const
inlineconstexprnoexcept

Definition at line 470 of file PrimitivesCobraMK3.cpp.

◆ rotationPivot() [8/10]

Vec3f & Shape::rotationPivot ( )
inlineconstexprnoexcept

Definition at line 471 of file PrimitivesCobraMK3.cpp.

◆ scale() [7/10]

const Vec3f & Shape::scale ( ) const
inlineconstexprnoexcept

Definition at line 473 of file PrimitivesCobraMK3.cpp.

◆ scale() [8/10]

Vec3f & Shape::scale ( )
inlineconstexprnoexcept

Definition at line 474 of file PrimitivesCobraMK3.cpp.

◆ outlineShapes() [3/6]

const std::vector< OutlineShape > & Shape::outlineShapes ( ) const
inlineconstexprnoexcept

Definition at line 476 of file PrimitivesCobraMK3.cpp.

◆ outlineShapes() [4/6]

std::vector< OutlineShape > & Shape::outlineShapes ( )
inlineconstexprnoexcept

Definition at line 477 of file PrimitivesCobraMK3.cpp.

◆ color() [5/6]

const Vec4f & Shape::color ( ) const
inlinenoexcept

Definition at line 479 of file PrimitivesCobraMK3.cpp.

◆ setColor() [5/6]

void Shape::setColor ( const Vec4f & c)
inlinenoexcept

Definition at line 480 of file PrimitivesCobraMK3.cpp.

◆ update() [4/5]

void Shape::update ( GL & gl)
inline

Definition at line 482 of file PrimitivesCobraMK3.cpp.

◆ draw() [5/6]

void Shape::draw ( GL & gl)
inline

Definition at line 493 of file PrimitivesCobraMK3.cpp.

◆ tick() [2/3]

virtual void Shape::tick ( float )
inlinevirtual

Reimplemented in Ship.

Definition at line 504 of file PrimitivesCobraMK3.cpp.

◆ createShared() [5/5]

static ShapeRef Shape::createShared ( GraphRenderer & renderer)
inlinestatic

Definition at line 461 of file GraphRegion.hpp.

◆ destroy() [4/4]

void Shape::destroy ( GL & gl)
inline

Definition at line 465 of file GraphRegion.hpp.

◆ position() [11/12]

const Vec3f & Shape::position ( ) const
inlineconstexprnoexcept

Definition at line 469 of file GraphRegion.hpp.

◆ position() [12/12]

Vec3f & Shape::position ( )
inlineconstexprnoexcept

Definition at line 470 of file GraphRegion.hpp.

◆ set_position() [3/3]

void Shape::set_position ( Vec3f new_pos)
inlineconstexprnoexcept

Definition at line 471 of file GraphRegion.hpp.

◆ zOffset() [9/10]

const float & Shape::zOffset ( ) const
inlineconstexprnoexcept

Definition at line 473 of file GraphRegion.hpp.

◆ zOffset() [10/10]

float & Shape::zOffset ( )
inlineconstexprnoexcept

Definition at line 474 of file GraphRegion.hpp.

◆ rotation() [11/12]

const Quat4f & Shape::rotation ( ) const
inlineconstexprnoexcept

Definition at line 476 of file GraphRegion.hpp.

◆ rotation() [12/12]

Quat4f & Shape::rotation ( )
inlineconstexprnoexcept

Definition at line 477 of file GraphRegion.hpp.

◆ rotationPivot() [9/10]

const Vec3f & Shape::rotationPivot ( ) const
inlineconstexprnoexcept

Definition at line 479 of file GraphRegion.hpp.

◆ rotationPivot() [10/10]

Vec3f & Shape::rotationPivot ( )
inlineconstexprnoexcept

Definition at line 480 of file GraphRegion.hpp.

◆ scale() [9/10]

const Vec3f & Shape::scale ( ) const
inlineconstexprnoexcept

Definition at line 482 of file GraphRegion.hpp.

◆ scale() [10/10]

Vec3f & Shape::scale ( )
inlineconstexprnoexcept

Definition at line 483 of file GraphRegion.hpp.

◆ outlineShapes() [5/6]

const std::vector< OutlineShape > & Shape::outlineShapes ( ) const
inlineconstexprnoexcept

Definition at line 485 of file GraphRegion.hpp.

◆ outlineShapes() [6/6]

std::vector< OutlineShape > & Shape::outlineShapes ( )
inlineconstexprnoexcept

Definition at line 486 of file GraphRegion.hpp.

◆ color() [6/6]

const Vec4f & Shape::color ( ) const
inlinenoexcept

Definition at line 488 of file GraphRegion.hpp.

◆ setColor() [6/6]

void Shape::setColor ( const Vec4f & c)
inlinenoexcept

Definition at line 489 of file GraphRegion.hpp.

◆ update() [5/5]

void Shape::update ( GL & gl)
inline

Definition at line 491 of file GraphRegion.hpp.

◆ draw() [6/6]

void Shape::draw ( GL & gl)
inline

Definition at line 498 of file GraphRegion.hpp.

◆ tick() [3/3]

void Shape::tick ( float dt)
inline

Game ..

Definition at line 511 of file GraphRegion.hpp.

◆ velo() [2/2]

float & Shape::velo ( )
inlinenoexcept

Definition at line 522 of file GraphRegion.hpp.


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