Rasterfarm-SDK
Loading...
Searching...
No Matches
Shape::Sphere::Attribute Class Reference

#include <sphere.h>

Public Member Functions

 Attribute (float radius, uint resolution, float sweepDistance=0.0f, Vector3f orientation={ 0.0f, 1.0f, 0.0f })
 
 Attribute (Primitive3D::Capsule capsule, uint resolution)
 

Public Attributes

float radius
 
uint resolution
 
float sweepDistance
 
Vector3f orientation
 

Constructor & Destructor Documentation

◆ Attribute() [1/2]

Shape::Sphere::Attribute::Attribute ( float radius,
uint resolution,
float sweepDistance = 0.0f,
Vector3f orientation = { 0.0f, 1.0f, 0.0f } )

◆ Attribute() [2/2]

Shape::Sphere::Attribute::Attribute ( Primitive3D::Capsule capsule,
uint resolution )

Member Data Documentation

◆ orientation

Vector3f Shape::Sphere::Attribute::orientation

If the Sphere is swept, the orientation will determine the sweep-line.

◆ radius

float Shape::Sphere::Attribute::radius

◆ resolution

uint Shape::Sphere::Attribute::resolution

◆ sweepDistance

float Shape::Sphere::Attribute::sweepDistance

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