Provides the definition of 2D transformation operations for objects. More...
Go to the source code of this file.
Classes | |
struct | Raftel::Vec2 |
Represents a 2D vector with basic arithmetic operations. More... | |
class | Raftel::Transform2D |
Represents a 2D transformation for an object (translation, rotation, and scaling). More... | |
Provides the definition of 2D transformation operations for objects.
This file contains the Vec2
structure which represents a 2D vector and the Transform2D
class which handles 2D transformations such as translation, rotation, and scaling. The Transform2D
class is commonly used to apply transformations to objects in a 2D space, enabling smooth movement, rotation, and scaling over time.
Definition in file transform.hpp.