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

Function GetGlobalScale

engo.go:305–307  ·  view source on GitHub ↗

GetGlobalScale returns the GlobalScale factor set in the RunOptions or via SetGlobalScale()

()

Source from the content-addressed store, hash-verified

303// GetGlobalScale returns the GlobalScale factor set in the RunOptions or via
304// SetGlobalScale()
305func GetGlobalScale() Point {
306 return opts.GlobalScale
307}
308
309// SetGlobalScale sets the GlobalScale to the given dimensions. If either dimension is
310// less than or equal to zero, GlobalScale is set to (1, 1).

Callers 13

DrawMethod · 0.92
UpdateMethod · 0.92
PrepareCullingMethod · 0.92
makeModelMatrixMethod · 0.92
DrawMethod · 0.92
moveXMethod · 0.92
moveYMethod · 0.92
moveToXMethod · 0.92
moveToYMethod · 0.92
NewMethod · 0.92
PrepareCullingMethod · 0.92
makeModelMatrixMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected