root/week1oplossing/vector3.h

24
4
{
4
{
5
	class Vector3
5
	class Vector3
6
	{
6
	{
7
		
8
7
	public:
9
	public:
8
		// constructoren
10
		// constructoren
9
		Vector3();
11
		Vector3();
...
...
35
		bool operator!=(const Vector3& p);
37
		bool operator!=(const Vector3& p);
36
	private:
38
	private:
37
		float m_x,m_y,m_z;
39
		float m_x,m_y,m_z;
40
41
		friend tstringstream& operator<<(tstringstream& stream, Vector3& vector3);
42
		friend tstring operator+(tstring string, Vector3& vector3);
43
		friend Vector3 operator*(int n, Vector3& vector3);
38
	};
44
	};
45
46
47
48
39
}
49
}
50
51