MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / SimpleDisplay

Method SimpleDisplay

tools/tankview/simpleSDLView.cpp:142–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140#define _INVALID_ID 0xFFFFFFFF
141
142SimpleDisplay::SimpleDisplay(size_t width , size_t height, bool full, const char* caption) {
143 size[0] = size[1] = 0;
144 aspect = 0;
145 nearZ = 0.0001f;
146 farZ = 1000.0f;
147 fov = 30;
148 fullscreen = false;
149 valid = false;
150
151 create(width, height, full, caption);
152
153 lastImageID = 0;
154}
155
156SimpleDisplay::~SimpleDisplay() {
157 kill();

Callers

nothing calls this directly

Calls 1

createFunction · 0.50

Tested by

no test coverage detected