ay_pomesh_object Struct Reference

Polygonal mesh object.

#include <ayam.h>

Data Fields

int type
 unused
unsigned int npolys
 total number of polygons
unsigned int * nloops
 loops per polygon [npolys]
unsigned int * nverts
 verts per loop[total_sum(nloops)]
unsigned int * verts
 [total_sum(nverts)]
unsigned int ncontrols
 total number of control points
int has_normals
 vertex normals? 0 - No, stride=3; 1 - Yes, stride=6
double * controlv
 control points [ncontrols * stride]
double * face_normals
 face normals [npolys * 3]
unsigned char * face_selection
 face selection [roundup(npolys / 8)]

The documentation for this struct was generated from the following file:
Generated on Thu Jan 2 15:24:24 2025 for Ayam by  doxygen 1.6.3