mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix UVFace.rotate
This commit is contained in:
parent
560288b5c3
commit
bb038653d6
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ struct UVFace {
|
|||
}
|
||||
|
||||
template<int n>
|
||||
inline void rotate(int times) {
|
||||
inline void rotate() {
|
||||
int times = n % 4;
|
||||
if (times < 0) {
|
||||
times += 4;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue