Kapsuła
[Moduł Math]


Funkcje

float common::CapsuleVolume (const VEC3 &p1, const VEC3 &p2, float R)
 Objętość kapsuły.
void common::RandomPointInCapsule (VEC3 *Out, const VEC3 &p1, const VEC3 &p2, float R, RandomGenerator &Rand)
 Losuje punkt z wnętrza kapsuły. Rozkład równomierny.
void common::RandomPointInCapsule (VEC3 *Out, const VEC3 &p1, const VEC3 &p2, float R)

Opis szczegółowy


Dokumentacja funkcji

float common::CapsuleVolume ( const VEC3 &  p1,
const VEC3 &  p2,
float  R 
)

Objętość kapsuły.

void common::RandomPointInCapsule ( VEC3 *  Out,
const VEC3 &  p1,
const VEC3 &  p2,
float  R 
)

void common::RandomPointInCapsule ( VEC3 *  Out,
const VEC3 &  p1,
const VEC3 &  p2,
float  R,
RandomGenerator &  Rand 
)

Losuje punkt z wnętrza kapsuły. Rozkład równomierny.


Wygenerowano Sat Mar 29 18:17:00 2008 dla CommonLib programem  doxygen 1.5.5