"""
This module provides functionality for applying transformations including
translation, rotation, and scaling to a specific graphical context using OpenGL
legacy API methods.
The Transform class encapsulates a set of transformation properties which
can be applied sequentially in the order of translation, rotation, and scaling.
"""
from dataclasses import dataclass, field
from molib.pdb.coordinate.coordinate import Coordinate3D
from picogl.backend.gl.api.legacy.rotate import gl_rotate_f
from picogl.backend.gl.enums.legacy.scale import gl_scalef, gl_translate_f
@dataclass