Gin
Loading...
Searching...
No Matches
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 )

References colour, position, and size.

◆ Point3D() [3/3]

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

References colour, position, and size.

Member Data Documentation

◆ position

Vec3f Point3D::position

Referenced by Point3D(), and Point3D().

◆ size

float Point3D::size { 1.0f }

Referenced by Point3D(), and Point3D().

◆ colour

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

Referenced by Point3D(), and Point3D().


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