7#ifndef MYGUI_GEOMETRY_UTILITY_H_
8#define MYGUI_GEOMETRY_UTILITY_H_
18 namespace geometry_utility
void cropPolygonSide(VectorFloatPoint &_verticies, int _sideCoord, Side _side)
FloatPoint getUVFromPositionInsideRect(const FloatPoint &_point, const FloatPoint &_v0, const FloatPoint &_v1, const FloatPoint &_baseUV)
FloatPoint getPositionInsideRect(const FloatPoint &_point, const FloatPoint &_corner0, const FloatPoint &_corner1, const FloatPoint &_corner2)
VectorFloatPoint cropPolygon(FloatPoint *_baseVerticiesPos, size_t _size, const IntCoord &_cropRectangle)
std::vector< FloatPoint > VectorFloatPoint