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

Represents a line segment in 3D space. More...

#include <gin_scene3d.h>

Public Member Functions

 LineSegment3D ()=default
 
 LineSegment3D (const Vec3f &s, const Vec3f &e, juce::Colour c=juce::Colours::white)
 
 LineSegment3D (float x1, float y1, float z1, float x2, float y2, float z2, juce::Colour c=juce::Colours::white)
 

Public Attributes

Vec3f start
 
Vec3f end
 
juce::Colour colour { juce::Colours::white }
 

Detailed Description

Represents a line segment in 3D space.

Constructor & Destructor Documentation

◆ LineSegment3D() [1/3]

LineSegment3D::LineSegment3D ( )
default

◆ LineSegment3D() [2/3]

LineSegment3D::LineSegment3D ( const Vec3f s,
const Vec3f e,
juce::Colour  c = juce::Colours::white 
)

◆ LineSegment3D() [3/3]

LineSegment3D::LineSegment3D ( float  x1,
float  y1,
float  z1,
float  x2,
float  y2,
float  z2,
juce::Colour  c = juce::Colours::white 
)

Member Data Documentation

◆ start

Vec3f LineSegment3D::start

◆ end

Vec3f LineSegment3D::end

◆ colour

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

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