|
Polyphase Game Engine
|
#include "Assets/TextureAtlasUtil.h"Functions | |
| bool | ComputeAtlasCellUV (int32_t cols, int32_t rows, int32_t cellW, int32_t cellH, int32_t marginX, int32_t marginY, int32_t spacingX, int32_t spacingY, int32_t cellIndex, int32_t texW, int32_t texH, glm::vec2 &outUV0, glm::vec2 &outUV1) |
| bool ComputeAtlasCellUV | ( | int32_t | cols, |
| int32_t | rows, | ||
| int32_t | cellW, | ||
| int32_t | cellH, | ||
| int32_t | marginX, | ||
| int32_t | marginY, | ||
| int32_t | spacingX, | ||
| int32_t | spacingY, | ||
| int32_t | cellIndex, | ||
| int32_t | texW, | ||
| int32_t | texH, | ||
| glm::vec2 & | outUV0, | ||
| glm::vec2 & | outUV1 | ||
| ) |