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

Class MouseState

Chapter4/GL01_Camera/src/main.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35};
36
37struct MouseState
38{
39 glm::vec2 pos = glm::vec2(0.0f);
40 bool pressedLeft = false;
41} mouseState;
42
43CameraPositioner_FirstPerson positioner( vec3(0.0f), vec3(0.0f, 0.0f, -1.0f), vec3(0.0f, 1.0f, 0.0f));
44//positioner.setPosition(vec3(0.0f, 0.0f, 0.0f));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected