common
Class MarbleTriangle
in MarbleTriangle.h
in MarbleTriangle.cpp
- class MarbleTriangle
la superficie dove poggia la pallina
Field Summary |
Point3f |
a
|
Point3f |
b
|
Point3f |
c
|
Point3f |
normale
|
Method Summary |
void |
CalcNormal()
Compute the normal of the face starting from the three vertexes
and store it in Point3f normale_triangolo |
float |
pendenza()
|
a
public Point3f a;
b
public Point3f b;
c
public Point3f c;
normale
public Point3f normale;
MarbleTriangle
public MarbleTriangle( void );
~MarbleTriangle
public ~MarbleTriangle( void );
CalcNormal
public void CalcNormal();
- Compute the normal of the face starting from the three vertexes
and store it in Point3f normale_triangolo
pendenza
public float pendenza();