Kapsuła
[Math Module]

Functions

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)

Detailed Description


Function Documentation

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.


Generated on Wed Dec 16 20:44:53 2009 for CommonLib by  doxygen 1.6.1