File: Line.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 (26 lines) | stat: -rw-r--r-- 470 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
#pragma once

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

namespace SyntopiaCore {
	namespace GLEngine {	

		class Line : public Object3D {
		public:
			Line(SyntopiaCore::Math::Vector3f from, SyntopiaCore::Math::Vector3f to);

			virtual ~Line();

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

		private:
			SyntopiaCore::Math::Vector3f from;
			SyntopiaCore::Math::Vector3f to;
		};

	}
}