Gin
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Point3D Struct Reference

Represents a point in 3D space. More...

#include <gin_scene3d.h>

Public Member Functions

 Point3D ()=default
 
 Point3D (const Vec3f &pos, float sz=1.0f, juce::Colour c=juce::Colours::white)
 
 Point3D (float x, float y, float z, float sz=1.0f, juce::Colour c=juce::Colours::white)
 

Public Attributes

Vec3f position
 
float size { 1.0f }
 
juce::Colour colour { juce::Colours::white }
 

Detailed Description

Represents a point in 3D space.

Constructor & Destructor Documentation

◆ Point3D() [1/3]

Point3D::Point3D ( )
default

◆ Point3D() [2/3]

Point3D::Point3D ( const Vec3f pos,
float  sz = 1.0f,
juce::Colour  c = juce::Colours::white 
)

◆ Point3D() [3/3]

Point3D::Point3D ( float  x,
float  y,
float  z,
float  sz = 1.0f,
juce::Colour  c = juce::Colours::white 
)

Member Data Documentation

◆ position

Vec3f Point3D::position

◆ size

float Point3D::size { 1.0f }

◆ colour

juce::Colour Point3D::colour { juce::Colours::white }

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