MLX42 1.0
MLX42
|
#include <MLX42.h>
Data Fields | |
int32_t | x |
int32_t | y |
int32_t | z |
bool | enabled |
An image instance can be summarized as just a simple x, y & z coordinate.
Coordinates start from the top left of the screen at 0,0 and increase towards the bottom right.
NOTE: To change the z value, use mlx_set_instance_depth!
x | The x location. |
y | The y location. |
z | The z depth, controls if the image is on the fore or background. |
enabled | If true, the instance is drawn, else it's not. |