add demo volume code

This commit is contained in:
cuu
2022-09-04 21:02:32 +08:00
parent 548957a344
commit b826552d3d
12 changed files with 926 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
/*
* ALGO : PROJ. : Volume
* RESEARCH : File : transform.h
* : Date : 20100531.0725UTC
* : Email : mail@algoresearch.net
*/
#include <math.h>
typedef struct{
float x, y, z;
int v;
}VERTEX;
void rotate_xy(VERTEX*, VERTEX*, float, float, VERTEX*);