#include <C4FoW.h>
Public Member Functions | |
C4FragTransform ()=default | |
void | Translate (float dx, float dy) |
void | Scale (float sx, float sy) |
void | Get2x3 (float transform[6]) |
Simple transformation class which allows translation and scales in x and y. This is typically used to initialize shader uniforms to transform fragment coordinates to some texture coordinates (e.g. landscape coordinates or light texture coordinates).
|
default |
|
inline |
Definition at line 54 of file C4FoW.h.
Referenced by C4FoWRegion::GetFragTransform(), and C4FoWAmbient::GetFragTransform().
|
inline |
Definition at line 45 of file C4FoW.h.
Referenced by C4FoWRegion::GetFragTransform(), and C4FoWAmbient::GetFragTransform().
|
inline |
Definition at line 38 of file C4FoW.h.
Referenced by C4FoWRegion::GetFragTransform(), and C4FoWAmbient::GetFragTransform().