Blender V4.3
poly34.h File Reference

Go to the source code of this file.

Functions

int SolveP2 (btScalar *x, btScalar a, btScalar b)
 
int SolveP3 (btScalar *x, btScalar a, btScalar b, btScalar c)
 
int SolveP4 (btScalar *x, btScalar a, btScalar b, btScalar c, btScalar d)
 
int SolveP5 (btScalar *x, btScalar a, btScalar b, btScalar c, btScalar d, btScalar e)
 
int SolveP4Bi (btScalar *x, btScalar b, btScalar d)
 
int SolveP4De (btScalar *x, btScalar b, btScalar c, btScalar d)
 
void CSqrt (btScalar x, btScalar y, btScalar &a, btScalar &b)
 
btScalar N4Step (btScalar x, btScalar a, btScalar b, btScalar c, btScalar d)
 
btScalar SolveP5_1 (btScalar a, btScalar b, btScalar c, btScalar d, btScalar e)
 

Function Documentation

◆ CSqrt()

void CSqrt ( btScalar x,
btScalar y,
btScalar & a,
btScalar & b )

Definition at line 119 of file poly34.cpp.

References b, and sqrt().

Referenced by SolveP4Bi(), and SolveP4De().

◆ N4Step()

btScalar N4Step ( btScalar x,
btScalar a,
btScalar b,
btScalar c,
btScalar d )

Definition at line 287 of file poly34.cpp.

References b, and x.

Referenced by SolveP4().

◆ SolveP2()

int SolveP2 ( btScalar * x,
btScalar a,
btScalar b )

Definition at line 52 of file poly34.cpp.

References b, D, and sqrt().

Referenced by continuousCollisionDetection().

◆ SolveP3()

int SolveP3 ( btScalar * x,
btScalar a,
btScalar b,
btScalar c )

Definition at line 71 of file poly34.cpp.

References A, B, b, cos(), eps, fabs(), root3(), sqrt(), and TwoPi.

Referenced by continuousCollisionDetection(), and SolveP4De().

◆ SolveP4()

int SolveP4 ( btScalar * x,
btScalar a,
btScalar b,
btScalar c,
btScalar d )

Definition at line 300 of file poly34.cpp.

References b, N4Step(), and SolveP4De().

Referenced by SolveP5().

◆ SolveP4Bi()

int SolveP4Bi ( btScalar * x,
btScalar b,
btScalar d )

Definition at line 143 of file poly34.cpp.

References b, CSqrt(), and sqrt().

Referenced by SolveP4De().

◆ SolveP4De()

int SolveP4De ( btScalar * x,
btScalar b,
btScalar c,
btScalar d )

Definition at line 208 of file poly34.cpp.

References b, CSqrt(), dblSort3(), e, fabs(), SolveP3(), SolveP4Bi(), and sqrt().

Referenced by SolveP4().

◆ SolveP5()

int SolveP5 ( btScalar * x,
btScalar a,
btScalar b,
btScalar c,
btScalar d,
btScalar e )

Definition at line 441 of file poly34.cpp.

References b, e, SolveP4(), and SolveP5_1().

◆ SolveP5_1()

btScalar SolveP5_1 ( btScalar a,
btScalar b,
btScalar c,
btScalar d,
btScalar e )

Definition at line 341 of file poly34.cpp.

References b, e, eps, F5, and fabs().

Referenced by SolveP5().