#include "PolyphaseAPI.h"
#include "glm/glm.hpp"
#include <cstdint>
Go to the source code of this file.
|
| POLYPHASE_API 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) |
| |
◆ ComputeAtlasCellUV()
| POLYPHASE_API 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 |
|
) |
| |