#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>
Go to the source code of this file.
Functions | |
int | main (int, char **) |
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.