「marching cubes(API)」の版間の差分
提供: Eospedia
(ページの作成:「DataExpress/openGL/src/'''marching_cubes'''はAPI です。 == 定数 == typedef enum vertex_type{ normal = 0, vertex, begin, begin_strip, end }vertex_type; ...」) |
|||
行1: | 行1: | ||
− | DataExpress/ | + | DataExpress/eosOpenGL/src/'''marching_cubes'''はAPI です。 |
== 定数 == | == 定数 == |
2015年3月18日 (水) 06:45時点における最新版
DataExpress/eosOpenGL/src/marching_cubesはAPI です。
定数
typedef enum vertex_type{ normal = 0, vertex, begin, begin_strip, end }vertex_type;
構造体
typedef struct vertex_coord{ float x; float y; float z; }vertex_coord;
typedef struct marching_one_vertex{ vertex_type type; vertex_coord coord; marching_one_vertex* next; marching_one_vertex* previous; }marching_one_vertex;
typedef struct marching_cubes{ marching_one_vertex* top; marching_one_vertex* current; marching_one_vertex* bottom; }marching_cubes;