cf_sprite_set_offset_x¶
Category: sprite
GitHub: cute_sprite.h
Sets the sprite's local offset on the x-axis.
void cf_sprite_set_offset_x(CF_Sprite* sprite, float offset) { CF_ASSERT(sprite); sprite->offset.x = offset; }
Related Pages¶
CF_Sprite
cf_sprite_get_offset_x
cf_sprite_get_offset_y
cf_sprite_set_offset_y