trimesh_optional.cpp File Reference

#include <stdio.h>
#include <time.h>
#include "mesh_definition.h"
#include <vcg/complex/trimesh/allocate.h>
#include <vcg/complex/trimesh/create/platonic.h>
#include <vcg/complex/trimesh/update/topology.h>
#include <vcg/complex/trimesh/update/flag.h>
#include <vcg/complex/trimesh/update/normal.h>
#include <vcg/complex/trimesh/refine.h>
Include dependency graph for trimesh_optional.cpp:

Go to the source code of this file.

Functions

int main (int, char **)

Function Documentation

int main ( int  ,
char **   
)

Calculates both vertex and face normals. The normal of a vertex v is the weigthed average of the normals of the faces incident on v. normals are not normalized

Definition at line 15 of file trimesh_optional.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:21:11 2013