Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Public Attributes | List of all members
castor::SphericalVertex Class Reference

#include <SphericalVertex.hpp>

Public Member Functions

CU_API SphericalVertex (float radius=0, float phi=0, float theta=0)
 Specified Constructor.
 
CU_API SphericalVertex (Point3f const &vertex)
 Constructor from a cartesian point.
 

Public Attributes

float m_radius
 
float m_phi
 
float m_theta
 

Constructor & Destructor Documentation

◆ SphericalVertex() [1/2]

CU_API castor::SphericalVertex::SphericalVertex ( float radius = 0,
float phi = 0,
float theta = 0 )

Specified Constructor.

Parameters
[in]radiusThe distance from origin
[in]phiPhi angle
[in]thetaTheta angle

◆ SphericalVertex() [2/2]

CU_API castor::SphericalVertex::SphericalVertex ( Point3f const & vertex)
explicit

Constructor from a cartesian point.

Parameters
[in]vertexThe vertex to convert

Member Data Documentation

◆ m_phi

float castor::SphericalVertex::m_phi

The xy angle.

◆ m_radius

float castor::SphericalVertex::m_radius

The radius (distance to origin).

◆ m_theta

float castor::SphericalVertex::m_theta

The xz angle.


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