MCPcopy Create free account
hub / github.com/PacktPublishing/3D-Graphics-Rendering-Cookbook / MouseState

Class MouseState

Chapter5/GL01_Grid/src/main.cpp:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15};
16
17struct MouseState
18{
19 glm::vec2 pos = glm::vec2(0.0f);
20 bool pressedLeft = false;
21} mouseState;
22
23CameraPositioner_FirstPerson positioner( vec3(0.0f, 0.5f, 0.0f), vec3(0.0f, 0.0f, -1.0f), vec3(0.0f, 1.0f, 0.0f));
24Camera camera(positioner);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected