SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
ScaleAndOffset2D Struct Reference

#include <SLGLOVRWorkaround.h>

Public Member Functions

 ScaleAndOffset2D (float sx=0.0f, float sy=0.0f, float ox=0.0f, float oy=0.0f)
 

Public Attributes

SLVec2f Scale
 
SLVec2f Offset
 

Detailed Description

Definition at line 715 of file SLGLOVRWorkaround.h.

Constructor & Destructor Documentation

◆ ScaleAndOffset2D()

ScaleAndOffset2D::ScaleAndOffset2D ( float  sx = 0.0f,
float  sy = 0.0f,
float  ox = 0.0f,
float  oy = 0.0f 
)
inline

Definition at line 720 of file SLGLOVRWorkaround.h.

721  : Scale(sx, sy), Offset(ox, oy)
722  {
723  }

Member Data Documentation

◆ Offset

SLVec2f ScaleAndOffset2D::Offset

Definition at line 718 of file SLGLOVRWorkaround.h.

◆ Scale

SLVec2f ScaleAndOffset2D::Scale

Definition at line 717 of file SLGLOVRWorkaround.h.


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