Alpha Engine
|
AEMath.h
Go to the documentation of this file.
588 AE_API f32 AECalcDistCircleToRect (AEVec2* pCtr, f32 radius, AEVec2* pRect, f32 sizeX, f32 sizeY);
642 AE_API f32 AECalcDistRectToRect (AEVec2* pRect0, f32 sizeX0, f32 sizeY0, AEVec2* pRect1, f32 sizeX1, f32 sizeY1, AEVec2* pNormal);
842 AE_API s32 AETestRectToRect (AEVec2* pRect0, f32 sizeX0, f32 sizeY0, AEVec2* pRect1, f32 sizeX1, f32 sizeY1);
907 AE_API f32 AEAnimatedPointToStaticLineSegment(AEVec2 *pStart, AEVec2 *pEnd, AELineSegment2 *pLine, AEVec2 *pInter);
949 AE_API f32 AEAnimatedCircleToStaticLineSegment(AEVec2 *pStart, AEVec2 *pEnd, f32 radius, AELineSegment2 *pLine, AEVec2 *pInter);
990 AE_API f32 AEReflectAnimatedPointOnStaticLineSegment(AEVec2 *pStart, AEVec2 *pEnd, AELineSegment2 *pLine, AEVec2 *pInter, AEVec2 *pReflect);
1038 AE_API f32 AEReflectAnimatedCircleOnStaticLineSegment(AEVec2 *pStart, AEVec2 *pEnd, f32 radius, AELineSegment2 *pLine, AEVec2 *pInter, AEVec2 *pReflect);
1079 AE_API f32 AEAnimatedPointToStaticCircle(AEVec2 *pStart, AEVec2 *pEnd, AEVec2 *pCtr, f32 radius, AEVec2 *pInter);
1125 AE_API f32 AEReflectAnimatedPointOnStaticCircle(AEVec2 *pStart, AEVec2 *pEnd, AEVec2 *pCtr, f32 radius, AEVec2 *pInter, AEVec2 *pReflect);
1170 AE_API f32 AEAnimatedCircleToStaticCircle(AEVec2 *pCtr0s, AEVec2 *pCtr0e, f32 radius0, AEVec2 *pCtr1, f32 radius1, AEVec2 *pInter);
1221 AE_API f32 AEReflectAnimatedCircleOnStaticCircle(AEVec2 *pCtr0s, AEVec2 *pCtr0e, f32 radius0, AEVec2 *pCtr1, f32 radius1, AEVec2 *pInter, AEVec2 *pReflect);
1232 AE_API f32 AESweepCircleToLineSeg (AEVec2* pCtr0, AEVec2* pCtr1, f32 radius, AEVec2* pP0, AEVec2* pP1, AEVec2* pN);
1241 AE_API f32 AESweepCircleToLine (AEVec2 *pCtr, f32 radius, AEVec2 *pVel, AEVec2 *pPnt, AEVec2 *pDirection);
1246 AE_API s32 AEReflectPointOnLine (AEVec2 *pPos, AEVec2 *pVel, AEVec2 *pPnt, AEVec2 *pDirection, AEVec2 *pNewPosition, AEVec2 *pNewVelocity);
1252 AE_API s32 AEReflectCircleOnLine (AEVec2 *pCtr, f32 radius, AEVec2 *pVel, AEVec2 *pPnt, AEVec2 *pDirection, AEVec2 *pNewPosition, AEVec2 *newVelocity);
f32 AEAnimatedPointToStaticLineSegment(AEVec2 *pStart, AEVec2 *pEnd, AELineSegment2 *pLine, AEVec2 *pInter)
Calculate the collision between a moving point with a line.
f32 AECalcDistCircleToCircle(AEVec2 *pCtr0, f32 radius0, AEVec2 *pCtr1, f32 radius1)
Calculate the shortest distance between the edges of two circles.
s32 AETestCircleToCircle(AEVec2 *pCtr0, f32 radius0, AEVec2 *pCtr1, f32 radius1)
Test for collision between two circles.
f32 AECalcDistRectToRect(AEVec2 *pRect0, f32 sizeX0, f32 sizeY0, AEVec2 *pRect1, f32 sizeX1, f32 sizeY1, AEVec2 *pNormal)
Calculate the shortest distance between the edges of two rectangles.
Header file for the 3x3 matrix library.
Header file for the 2D line segment library.
f32 AEReflectAnimatedCircleOnStaticCircle(AEVec2 *pCtr0s, AEVec2 *pCtr0e, f32 radius0, AEVec2 *pCtr1, f32 radius1, AEVec2 *pInter, AEVec2 *pReflect)
Calculate the collision between a moving circle with a static circle and the reflected path of moving...
Definition: AELineSegment2.h:22
f32 AECalcDistPointToRect(AEVec2 *pPos, AEVec2 *pRect, f32 sizeX, f32 sizeY)
Calculate the shortest distance from a point to the edge of a rectangle.
Definition: AEVec2.h:26
f32 AEAnimatedPointToStaticCircle(AEVec2 *pStart, AEVec2 *pEnd, AEVec2 *pCtr, f32 radius, AEVec2 *pInter)
Calculate the collision between a moving point with a circle.
f32 AEStaticPointToStaticLineSegment(AEVec2 *pPos, AELineSegment2 *pLine)
Calculate the shortest distance from a point to a line.
s32 AETestPointToCircle(AEVec2 *pPos, AEVec2 *pCtr, f32 radius)
Test if a point is inside a circle.
s32 AETestRectToRect(AEVec2 *pRect0, f32 sizeX0, f32 sizeY0, AEVec2 *pRect1, f32 sizeX1, f32 sizeY1)
Test for collision between two rectangles.
s32 AETestCircleToRect(AEVec2 *pCtr, f32 radius, AEVec2 *pRect, f32 sizeX, f32 sizeY)
Test for collision between a circle and a rectangle.
f32 AECalcDistPointToCircle(AEVec2 *pPos, AEVec2 *pCtr, f32 radius)
Calculate the shortest distance from a point to the edge of a circle.
f32 AEReflectAnimatedPointOnStaticCircle(AEVec2 *pStart, AEVec2 *pEnd, AEVec2 *pCtr, f32 radius, AEVec2 *pInter, AEVec2 *pReflect)
Calculate the collision between a moving point with a circle and the reflected path of the point...
Header file for the 2D vector library.
f32 AEAnimatedCircleToStaticLineSegment(AEVec2 *pStart, AEVec2 *pEnd, f32 radius, AELineSegment2 *pLine, AEVec2 *pInter)
Calculate the collision between a moving circle with a line.
f32 AECalcDistPointToLineSeg(AEVec2 *pPos, AEVec2 *pLine0, AEVec2 *pLine1)
Calculate the shortest distance from a point to a line segment.
f32 AEAnimatedCircleToStaticCircle(AEVec2 *pCtr0s, AEVec2 *pCtr0e, f32 radius0, AEVec2 *pCtr1, f32 radius1, AEVec2 *pInter)
Calculate the collision between a moving circle with a static circle.
s32 AETestPointToRect(AEVec2 *pPos, AEVec2 *pRect, f32 sizeX, f32 sizeY)
Test if a point is inside a rectangle.
f32 AECalcDistPointToConvexPoly(AEVec2 *pPos, AEVec2 *pVtx, u32 vtxNum)
Calculate the shortest distance from a point to the edge of a convex polygon.
f32 AEReflectAnimatedCircleOnStaticLineSegment(AEVec2 *pStart, AEVec2 *pEnd, f32 radius, AELineSegment2 *pLine, AEVec2 *pInter, AEVec2 *pReflect)
Calculate the collision between a moving circle with a line and the reflected path of the circle...
f32 AEReflectAnimatedPointOnStaticLineSegment(AEVec2 *pStart, AEVec2 *pEnd, AELineSegment2 *pLine, AEVec2 *pInter, AEVec2 *pReflect)
Calculate the collision between a moving point with a line and the reflected path of the point...
f32 AECalcDistCircleToRect(AEVec2 *pCtr, f32 radius, AEVec2 *pRect, f32 sizeX, f32 sizeY)
Calculate the shortest distance between the edges of a circle and a rectangle.
Generated on Sat Jan 4 2014 02:06:22 for Alpha Engine by
