Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
Vector3HollowSphereRandomizer Class Reference

#include <v3_rnd.h>

Inherits Vector3Randomizer.

Public Member Functions

 Vector3HollowSphereRandomizer (float radius)
 
virtual unsigned int Class_ID (void) const
 
virtual float Get_Radius (void) const
 
virtual void Get_Vector (Vector3 &vector)
 
virtual float Get_Maximum_Extent (void)
 
virtual void Scale (float scale)
 
virtual Vector3RandomizerClone (void) const
 
- Public Member Functions inherited from Vector3Randomizer
virtual ~Vector3Randomizer (void)
 

Protected Member Functions

 Vector3HollowSphereRandomizer (const Vector3HollowSphereRandomizer &src)
 
- Protected Member Functions inherited from Vector3Randomizer
float Get_Random_Float_Minus1_To_1 ()
 
float Get_Random_Float_0_To_1 ()
 

Additional Inherited Members

- Public Types inherited from Vector3Randomizer
enum  {
  CLASSID_UNKNOWN = 0xFFFFFFFF , CLASSID_SOLIDBOX = 0 , CLASSID_SOLIDSPHERE , CLASSID_HOLLOWSPHERE ,
  CLASSID_SOLIDCYLINDER , CLASSID_MAXKNOWN , CLASSID_LAST = 0x0000FFFF
}
 
- Static Protected Attributes inherited from Vector3Randomizer
static const float OOIntMax = 1.0f / (float)INT_MAX
 
static const float OOUIntMax = 1.0f / (float)UINT_MAX
 
static Random3Class Randomizer
 

Detailed Description

Definition at line 173 of file v3_rnd.h.

Constructor & Destructor Documentation

◆ Vector3HollowSphereRandomizer() [1/2]

Vector3HollowSphereRandomizer::Vector3HollowSphereRandomizer ( float radius)

Definition at line 103 of file v3_rnd.cpp.

◆ Vector3HollowSphereRandomizer() [2/2]

Vector3HollowSphereRandomizer::Vector3HollowSphereRandomizer ( const Vector3HollowSphereRandomizer & src)
inlineprotected

Definition at line 189 of file v3_rnd.h.

Member Function Documentation

◆ Class_ID()

virtual unsigned int Vector3HollowSphereRandomizer::Class_ID ( void ) const
inlinevirtual

Implements Vector3Randomizer.

Definition at line 179 of file v3_rnd.h.

◆ Clone()

virtual Vector3Randomizer * Vector3HollowSphereRandomizer::Clone ( void ) const
inlinevirtual

Implements Vector3Randomizer.

Definition at line 184 of file v3_rnd.h.

◆ Get_Maximum_Extent()

float Vector3HollowSphereRandomizer::Get_Maximum_Extent ( void )
virtual

Implements Vector3Randomizer.

Definition at line 128 of file v3_rnd.cpp.

◆ Get_Radius()

virtual float Vector3HollowSphereRandomizer::Get_Radius ( void ) const
inlinevirtual

Definition at line 180 of file v3_rnd.h.

◆ Get_Vector()

void Vector3HollowSphereRandomizer::Get_Vector ( Vector3 & vector)
virtual

Implements Vector3Randomizer.

Definition at line 108 of file v3_rnd.cpp.

◆ Scale()

void Vector3HollowSphereRandomizer::Scale ( float scale)
virtual

Implements Vector3Randomizer.

Definition at line 133 of file v3_rnd.cpp.


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