[dali_2.3.21] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git] / dali-physics / third-party / chipmunk2d / include / chipmunk / cpRobust.h
1 #include "chipmunk/cpVect.h"
2
3 // This is a private header for functions (currently just one) that need strict floating point results.
4 // It was easier to put this in it's own file than to fiddle with 4 different compiler specific pragmas or attributes.
5 // "Fast math" should be disabled here.
6
7 // Check if c is to the left of segment (a, b).
8 cpBool cpCheckPointGreater(const cpVect a, const cpVect b, const cpVect c);
9
10 // Check if p is behind one of v0 or v1 on axis n.
11 cpBool cpCheckAxis(cpVect v0, cpVect v1, cpVect p, cpVect n);