Epok Engine

EPOK RUNTIME

epok::Transform2D

Struct

Struct

2D world transform: XY position, rotation about the view axis, per-axis scale and a stable draw order.

Namespace
epok
Header
object_model.hpp
Include
#include "object_model.hpp"
Module
object-model
Source
runtime/object_model.hpp:50

Basic usage

This minimal snippet shows the normal syntax for reaching the type. Open a member below for an operation-specific example.

C++ example
#include "object_model.hpp"

epok::Transform2D& value = /* obtain a valid instance from your game */;

Fields and constants