SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SceneGraph.h
Go to the documentation of this file.
1 /*
2  * SEGS - Super Entity Game Server
3  * http://www.segs.io/
4  * Copyright (c) 2006 - 2018 SEGS Team (see Authors.txt)
5  * This software is licensed! (See License.txt for details)
6  */
7 
8 #pragma once
9 #include <glm/vec3.hpp>
10 
11 class QString;
12 
17 {
18  glm::vec3 m_spawn_point;
19 public:
20  SceneGraph();
21  bool loadFromFile(const QString &);
22  void set_default_spawn_point(glm::vec3 loc) { m_spawn_point = loc; }
23  glm::vec3 spawn_location() const { return m_spawn_point; }
24 };
SceneGraph()
Definition: SceneGraph.cpp:15
void set_default_spawn_point(glm::vec3 loc)
Definition: SceneGraph.h:22
The SceneGraph class and functions operating on it are central point of access to the world&#39;s geometr...
Definition: SceneGraph.h:16
glm::vec3 spawn_location() const
Definition: SceneGraph.h:23
bool loadFromFile(const QString &)
Definition: SceneGraph.cpp:20