Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
Loading...
Searching...
No Matches
UrLookAtBoard Class Reference

Stupid utility class for centering the game camera in the 3D scene on the game board object. More...

#include <ur_look_at_board.hpp>

Inheritance diagram for UrLookAtBoard:

Public Member Functions

std::shared_ptr< ToyMaker::BaseSimObjectAspect > clone () const override
 

Static Public Member Functions

static std::string getSimObjectAspectTypeName ()
 
static std::shared_ptr< ToyMaker::BaseSimObjectAspect > create (const nlohmann::json &jsonAspectProperties)
 

Private Member Functions

void onActivated () override
 

Private Attributes

glm::vec3 mOffset { 0.f, 1.f, 2.f }
 

Detailed Description

Stupid utility class for centering the game camera in the 3D scene on the game board object.


The documentation for this class was generated from the following files: