Player12
An open source football management simulator
Loading...
Searching...
No Matches
PlayScreenBasis Struct Reference

#include <match_play_controller.h>

Public Attributes

float lengthX = 1.0f
 
float lengthY = 0.0f
 
float widthX = 0.0f
 
float widthY = 1.0f
 

Detailed Description

Screen pixels per pitch metre at the active footballer, along the pitch length (+x) and width (+y), so a stick pushed "up the screen" runs up the screen in any view or camera.

Member Data Documentation

◆ lengthX

float PlayScreenBasis::lengthX = 1.0f

◆ lengthY

float PlayScreenBasis::lengthY = 0.0f

◆ widthX

float PlayScreenBasis::widthX = 0.0f

◆ widthY

float PlayScreenBasis::widthY = 1.0f

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