Alchemy
Loading...
Searching...
No Matches

AffineTransform Struct Reference

A sprite's rotation and scale: scales in 8.8 fixed point (0x100 is full size), the angle in 1/65536 turns. More...

#include <affine.h>

Data Fields

u16 scaleX
 8.8 fixed point, read signed: negative mirrors the sprite
u16 scaleY
 8.8 fixed point, read signed
u16 angle
 1/65536 turns
u16 padding
 never read; keeps the struct 8 bytes

Detailed Description

A sprite's rotation and scale: scales in 8.8 fixed point (0x100 is full size), the angle in 1/65536 turns.

Definition at line 13 of file affine.h.

Field Documentation

◆ scaleX

◆ scaleY

◆ angle

◆ padding

u16 AffineTransform::padding

never read; keeps the struct 8 bytes

Definition at line 17 of file affine.h.