OpenStructure
Public Member Functions | Data Fields
SpherePrim Struct Reference

#include <gfx_prim.hh>

Public Member Functions

 SpherePrim ()
 
 SpherePrim (const geom::Vec3 &pos, float rad, const Color &col)
 

Data Fields

geom::Vec3 position
 
float radius
 
Color color
 

Detailed Description

Definition at line 34 of file gfx_prim.hh.

Constructor & Destructor Documentation

◆ SpherePrim() [1/2]

SpherePrim ( )
inline

Definition at line 35 of file gfx_prim.hh.

◆ SpherePrim() [2/2]

SpherePrim ( const geom::Vec3 pos,
float  rad,
const Color col 
)
inline

Definition at line 38 of file gfx_prim.hh.

Field Documentation

◆ color

Color color

Definition at line 44 of file gfx_prim.hh.

◆ position

geom::Vec3 position

Definition at line 42 of file gfx_prim.hh.

◆ radius

float radius

Definition at line 43 of file gfx_prim.hh.


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