PanoramaViewer
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Macros
Pages
Vector3.h
Go to the documentation of this file.
1
/*
2
* Vector3.h
3
*
4
* Created on: 19 juin 2013
5
* Author: hallison
6
*/
7
8
#ifndef VECTOR3_H_
9
#define VECTOR3_H_
10
11
#include <GLES2/gl2.h>
12
13
namespace
LayerSceneGraph {
14
15
class
Vector3
{
16
private
:
17
GLfloat
x
,
y
,
z
;
18
19
public
:
20
Vector3
();
21
Vector3
(GLfloat
x
, GLfloat
y
, GLfloat
z
);
22
Vector3
(
const
Vector3
&v);
23
24
virtual
~Vector3
();
25
Vector3
inverse
();
26
27
Vector3
operator+
(
Vector3
v);
28
Vector3
operator-
(
Vector3
v);
29
Vector3
operator*
(GLfloat scalar);
30
Vector3
operator*
(
Vector3
crossed);
31
Vector3
operator-
();
32
33
void
normalize
();
34
GLfloat
lenght
();
35
36
GLfloat *
values
();
37
};
38
39
}
/* namespace LayerSceneGraph */
40
#endif
/* VECTOR3_H_ */
jni
Math
Vector3.h
Generated on Wed Jul 10 2013 18:46:35 for PanoramaViewer by
1.8.3.1