MCPcopy Index your code
hub / github.com/EngoEngine/engo / WindowSize

Function WindowSize

engo_js.go:232–236  ·  view source on GitHub ↗

WindowSize returns the width and height of the current window

()

Source from the content-addressed store, hash-verified

230
231// WindowSize returns the width and height of the current window
232func WindowSize() (w, h int) {
233 w = int(WindowWidth())
234 h = int(WindowHeight())
235 return
236}
237
238// WindowWidth returns the current window width
239func WindowWidth() float32 {

Callers

nothing calls this directly

Calls 2

WindowWidthFunction · 0.70
WindowHeightFunction · 0.70

Tested by

no test coverage detected