#include "mathutility.h"
Functions | |
void | b2Vec2ToQPointF (b2Vec2 *points, size_t num_points, QPointF *result) |
Converts an array of b2Vec2 into an array of QPointF. More... | |
void | QPointFTob2Vec2 (QList< QPointF > points, b2Vec2 *result) |
Converts a list of QPointF into an array of b2Vec2. More... | |
void b2Vec2ToQPointF | ( | b2Vec2 * | points, |
size_t | num_points, | ||
QPointF * | result | ||
) |
Converts an array of b2Vec2 into an array of QPointF.
points | Array of b2Vec2 to convert. |
num_points | Number of points in the array. |
result | Array to store the result in. |
Referenced by genericPaintFixture().
void QPointFTob2Vec2 | ( | QList< QPointF > | points, |
b2Vec2 * | result | ||
) |
Converts a list of QPointF into an array of b2Vec2.
points | Source list to convert. |
result | Array to store the result in. |
Referenced by PushableObject::PushableObject(), and Wall::Wall().