Classes | |
struct | spPolygon |
struct | spSkeletonBounds |
Functions | |
spPolygon * | (int capacity) |
void | (spPolygon *self) |
int | (spPolygon *polygon, float x, float y) |
int | (spPolygon *polygon, float x1, float y1, float x2, float y2) |
spSkeletonBounds * | () |
void | (spSkeletonBounds *self) |
void | (spSkeletonBounds *self, spSkeleton *skeleton, intupdateAabb) |
int | (spSkeletonBounds *self, float x, float y) |
Returns true if the axis aligned bounding box contains the point. More... | |
int | (spSkeletonBounds *self, float x1, float y1, float x2, float y2) |
Returns true if the axis aligned bounding box intersects the line segment. More... | |
var | ( var self, var x1, var y1, var x2, var y2) |
Returns true if the axis aligned bounding box intersects the line segment. More... | |
local | ( local self, local x1, local y1, local x2, local y2) |
Returns true if the axis aligned bounding box intersects the line segment. More... | |
int | (spSkeletonBounds *self, spSkeletonBounds *bounds) |
Returns true if the axis aligned bounding box intersects the axis aligned bounding box of the specified bounds. More... | |
spBoundingBoxAttachment * | (spSkeletonBounds *self, float x, float y) |
Returns the first bounding box attachment that contains the point, or null. More... | |
spBoundingBoxAttachment * | (spSkeletonBounds *self, float x1, float y1, float x2, float y2) |
Returns the first bounding box attachment that contains the line segment, or null. More... | |
spPolygon * | (spSkeletonBounds *self, spBoundingBoxAttachment *boundingBox) |
Returns the polygon for the specified bounding box, or null. More... | |
spPolygon* spPolygon_create | ( | int | capacity | ) |
var spPolygon_create | ( | var | capacity | ) |
local spPolygon_create | ( | local | capacity | ) |
void spPolygon_dispose | ( | spPolygon * | self | ) |
var spPolygon_dispose | ( | var | self | ) |
local spPolygon_dispose | ( | local | self | ) |
int spPolygon_containsPoint | ( | spPolygon * | polygon, |
float | x, | ||
float | y | ||
) |
var spPolygon_containsPoint | ( | var | polygon, |
var | x, | ||
var | y | ||
) |
local spPolygon_containsPoint | ( | local | polygon, |
local | x, | ||
local | y | ||
) |
int spPolygon_intersectsSegment | ( | spPolygon * | polygon, |
float | x1, | ||
float | y1, | ||
float | x2, | ||
float | y2 | ||
) |
var spPolygon_intersectsSegment | ( | var | polygon, |
var | x1, | ||
var | y1, | ||
var | x2, | ||
var | y2 | ||
) |
local spPolygon_intersectsSegment | ( | local | polygon, |
local | x1, | ||
local | y1, | ||
local | x2, | ||
local | y2 | ||
) |
spSkeletonBounds* spSkeletonBounds_create |
( | ) |
var spSkeletonBounds_create | ( | ) |
local spSkeletonBounds_create | ( | ) |
void spSkeletonBounds_dispose | ( | spSkeletonBounds * | self | ) |
var spSkeletonBounds_dispose | ( | var | self | ) |
local spSkeletonBounds_dispose | ( | local | self | ) |
void spSkeletonBounds_update | ( | spSkeletonBounds * | self, |
spSkeleton * | skeleton, | ||
intupdateAabb | |||
) |
var spSkeletonBounds_update | ( | var | self, |
var | skeleton, | ||
var | |||
) |
local spSkeletonBounds_update | ( | local | self, |
local | skeleton, | ||
local | |||
) |
int spSkeletonBounds_aabbContainsPoint |
( | spSkeletonBounds * | self, |
float | x, | ||
float | y | ||
) |
Returns true if the axis aligned bounding box contains the point.
var spSkeletonBounds_aabbContainsPoint |
( | var | self, |
var | x, | ||
var | y | ||
) |
Returns true if the axis aligned bounding box contains the point.
local spSkeletonBounds_aabbContainsPoint |
( | local | self, |
local | x, | ||
local | y | ||
) |
Returns true if the axis aligned bounding box contains the point.
int spSkeletonBounds_aabbIntersectsSegment |
( | spSkeletonBounds * | self, |
float | x1, | ||
float | y1, | ||
float | x2, | ||
float | y2 | ||
) |
Returns true if the axis aligned bounding box intersects the line segment.
var spSkeletonBounds_aabbIntersectsSegment |
( | var | self, |
var | x1, | ||
var | y1, | ||
var | x2, | ||
var | y2 | ||
) |
Returns true if the axis aligned bounding box intersects the line segment.
local spSkeletonBounds_aabbIntersectsSegment |
( | local | self, |
local | x1, | ||
local | y1, | ||
local | x2, | ||
local | y2 | ||
) |
Returns true if the axis aligned bounding box intersects the line segment.
int spSkeletonBounds_aabbIntersectsSkeleton |
( | spSkeletonBounds * | self, |
spSkeletonBounds * | bounds | ||
) |
Returns true if the axis aligned bounding box intersects the axis aligned bounding box of the specified bounds.
var spSkeletonBounds_aabbIntersectsSkeleton |
( | var | self, |
var | bounds | ||
) |
Returns true if the axis aligned bounding box intersects the axis aligned bounding box of the specified bounds.
local spSkeletonBounds_aabbIntersectsSkeleton |
( | local | self, |
local | bounds | ||
) |
Returns true if the axis aligned bounding box intersects the axis aligned bounding box of the specified bounds.
spBoundingBoxAttachment* spSkeletonBounds_containsPoint |
( | spSkeletonBounds * | self, |
float | x, | ||
float | y | ||
) |
Returns the first bounding box attachment that contains the point, or null.
When doing many checks, it is usually more efficient to only call this method if spSkeletonBounds_aabbContainsPoint returns true.
var spSkeletonBounds_containsPoint | ( | var | self, |
var | x, | ||
var | y | ||
) |
Returns the first bounding box attachment that contains the point, or null.
When doing many checks, it is usually more efficient to only call this method if spSkeletonBounds_aabbContainsPoint returns true.
local spSkeletonBounds_containsPoint |
( | local | self, |
local | x, | ||
local | y | ||
) |
Returns the first bounding box attachment that contains the point, or null.
When doing many checks, it is usually more efficient to only call this method if spSkeletonBounds_aabbContainsPoint returns true.
spBoundingBoxAttachment* spSkeletonBounds_intersectsSegment |
( | spSkeletonBounds * | self, |
float | x1, | ||
float | y1, | ||
float | x2, | ||
float | y2 | ||
) |
Returns the first bounding box attachment that contains the line segment, or null.
When doing many checks, it is usually more efficient to only call this method if spSkeletonBounds_aabbIntersectsSegment returns true.
var spSkeletonBounds_intersectsSegment |
( | var | self, |
var | x1, | ||
var | y1, | ||
var | x2, | ||
var | y2 | ||
) |
Returns the first bounding box attachment that contains the line segment, or null.
When doing many checks, it is usually more efficient to only call this method if spSkeletonBounds_aabbIntersectsSegment returns true.
local spSkeletonBounds_intersectsSegment |
( | local | self, |
local | x1, | ||
local | y1, | ||
local | x2, | ||
local | y2 | ||
) |
Returns the first bounding box attachment that contains the line segment, or null.
When doing many checks, it is usually more efficient to only call this method if spSkeletonBounds_aabbIntersectsSegment returns true.
spPolygon* spSkeletonBounds_getPolygon |
( | spSkeletonBounds * | self, |
spBoundingBoxAttachment * | boundingBox | ||
) |
Returns the polygon for the specified bounding box, or null.
var spSkeletonBounds_getPolygon | ( | var | self, |
var | boundingBox | ||
) |
Returns the polygon for the specified bounding box, or null.
local spSkeletonBounds_getPolygon | ( | local | self, |
local | boundingBox | ||
) |
Returns the polygon for the specified bounding box, or null.