Free Electron
Namespaces | Functions
algorithms.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 fe
 kernel
 

Functions

BWORD fe::intersectRaySphere (Real *a_collisionDistance, const SpatialVector &a_rayRoot, const SpatialVector &a_rayDirection, const SpatialVector &a_sphereCenter, const Real &a_sphereRadius)
 
BWORD fe::intersectLinePlane (SpatialVector &a_intersection, BWORD a_loBound, BWORD a_hiBound, const SpatialVector &a_lineLo, const SpatialVector &a_lineHi, const SpatialVector &a_pointOnPlane, const SpatialVector &a_planeNormal)
 
BWORD fe::intersectRayPlane (SpatialVector &a_intersection, const SpatialVector &a_lineLo, const SpatialVector &a_lineHi, const SpatialVector &a_pointOnPlane, const SpatialVector &a_planeNormal)
 
BWORD fe::intersectLineTriangle (SpatialVector &a_intersection, BWORD a_loBound, BWORD a_hiBound, const SpatialVector &a_lineLo, const SpatialVector &a_lineHi, const SpatialVector &a_triA, const SpatialVector &a_triB, const SpatialVector &a_triC, const SpatialVector &a_triNormal)
 
BWORD fe::intersectRayTriangle (SpatialVector &a_intersection, const SpatialVector &a_lineLo, const SpatialVector &a_lineHi, const SpatialVector &a_triA, const SpatialVector &a_triB, const SpatialVector &a_triC)
 
BWORD fe::intersectTrianglePlane (SpatialVector &a_intersectionA, SpatialVector &a_intersectionB, const SpatialVector &a_triA, const SpatialVector &a_triB, const SpatialVector &a_triC, const SpatialVector &a_pointOnPlane, const SpatialVector &a_planeNormal)
 
BWORD fe::pointInTriangle (const SpatialVector &a_point, const SpatialVector &a_triA, const SpatialVector &a_triB, const SpatialVector &a_triC)
 
Vector2 fe::uvDelta (const Vector2 &a_uv0, const Vector2 &a_uv1)
 
FE_DL_PUBLIC BWORD fe::triangleDuDv (Vector< 3, Real > &a_du, Vector< 3, Real > &a_dv, const Vector< 3, Real > &a_point0, const Vector< 3, Real > &a_point1, const Vector< 3, Real > &a_point2, const Vector2 &a_uv0, const Vector2 &a_uv1, const Vector2 &a_uv2)
 
BWORD fe::tangentFromDuDvN (Vector< 3, Real > &a_tangent, const Vector< 3, Real > &a_du, const Vector< 3, Real > &a_dv, const Vector< 3, Real > &a_normal)
 
void fe::randomRealSeed (const U32 &a_seed)
 
Real fe::randomReal (const Real &a_min, const Real &a_max)
 
Real fe::randomRealReentrant (U32 *a_pSeed, const Real &a_min, const Real &a_max)