File: Grid.h

package info (click to toggle)
structure-synth 1.5.0-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,268 kB
  • ctags: 1,966
  • sloc: cpp: 10,209; python: 164; makefile: 71; sh: 15
file content (31 lines) | stat: -rw-r--r-- 637 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#pragma once

#include "SyntopiaCore/Math/Vector3.h"
#include "Object3D.h"

namespace SyntopiaCore {
	namespace GLEngine {	

		class Grid : public Object3D {
		public:
			Grid(SyntopiaCore::Math::Vector3f base, 
				SyntopiaCore::Math::Vector3f dir1 , 
				 SyntopiaCore::Math::Vector3f dir2, 
				 SyntopiaCore::Math::Vector3f dir3);

			virtual ~Grid();

			virtual QString name() { return "Grid"; }
			
			virtual void draw() const;

		private:
			SyntopiaCore::Math::Vector3f base;
			SyntopiaCore::Math::Vector3f v1;
			SyntopiaCore::Math::Vector3f v2;
			SyntopiaCore::Math::Vector3f v3;
		};

	}
}