HighMap library (C++)
Loading...
Searching...
No Matches
texture_transform.cpp File Reference

Namespaces

namespace  hmap
 

Functions

void hmap::flip_lr (Texture &texture)
 Flip the texture horizontally (left/right).
 
void hmap::flip_ud (Texture &texture)
 Flip the texture vertically (up/down).
 
void hmap::rot90 (Texture &texture)
 Rotate the texture by 90 degrees counterclockwise.
 
void hmap::rot180 (Texture &texture)
 Rotate the texture by 180 degrees.
 
void hmap::rot270 (Texture &texture)
 Rotate the texture by 270 degrees counterclockwise.
 
Texture hmap::transpose (const Texture &texture)
 Return the transposed texture.