Fireset
Loading...
Searching...
No Matches
FsSprite Struct Reference

Sprite structure. More...

#include <render.h>

Collaboration diagram for FsSprite:

Public Attributes

FsVec2 position
FsVec2 size
FsTexturetexture
float angle
int texRot

Detailed Description

Sprite structure.

Represents a 2D textured sprite.

Member Data Documentation

◆ angle

float FsSprite::angle

Rotation angle in degrees

◆ position

FsVec2 FsSprite::position

Position in window space

◆ size

FsVec2 FsSprite::size

Size in window space

◆ texRot

int FsSprite::texRot

Texture Rotation in 90°

◆ texture

FsTexture* FsSprite::texture

Pointer to the sprite texture


The documentation for this struct was generated from the following file: