Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Attributes | List of all members
Olympe::ViewRect Struct Reference

An axis-aligned rectangle used to describe the viewport or a node bounds. More...

#include <ViewportCulling.h>

Public Attributes

float x
 Left edge.
 
float y
 Top edge.
 
float w
 Width.
 
float h
 Height.
 

Detailed Description

An axis-aligned rectangle used to describe the viewport or a node bounds.

Definition at line 32 of file ViewportCulling.h.

Member Data Documentation

◆ h

float Olympe::ViewRect::h

Height.

Definition at line 36 of file ViewportCulling.h.

Referenced by Olympe::ViewportCulling::IsNodeVisible().

◆ w

float Olympe::ViewRect::w

Width.

Definition at line 35 of file ViewportCulling.h.

Referenced by Olympe::ViewportCulling::IsNodeVisible().

◆ x

float Olympe::ViewRect::x

Left edge.

Definition at line 33 of file ViewportCulling.h.

Referenced by Olympe::ViewportCulling::IsNodeVisible().

◆ y

float Olympe::ViewRect::y

Top edge.

Definition at line 34 of file ViewportCulling.h.

Referenced by Olympe::ViewportCulling::IsNodeVisible().


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