vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
normal.h
Go to the documentation of this file.
1
#ifndef NORMAL_H
2
#define NORMAL_H
3
4
#include <
vrecko/EnvironmentObject.h
>
5
#include "
functions.h
"
6
7
using namespace
osg;
8
using namespace
vrecko;
9
10
//recompute all normals in object
11
bool
recomputeNormals
(
EnvironmentObject
*eo);
12
13
//spocte vektor ze dvou bodu
14
Vec3
Vector
(Vec3 a, Vec3 b);
// Výpočet vektoru mezi dvěma body
15
16
//vypocita vektorovy soucin dvou vektoru
17
Vec3
Cross
(Vec3 a, Vec3 b);
// Vektorový součin
18
19
//spocita vse v jedne funkci za pomoci predchozich
20
Vec3
CalculateVector
(Vec3 a, Vec3 b, Vec3 c);
21
22
//get Angle of triangle
23
float
getAngle
(osg::Vec3 A, osg::Vec3 B, osg::Vec3 C);
24
25
#endif //NORMAL_H
26
include
vreckoAP
ConnectEditor
normal.h
Generated on Tue Feb 19 2013 10:23:42 for vrecko by
1.8.3.1