blob: 1f4208fc700de03f425453e6e4ff262f07752698 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef _SOFTSHADEROOM_TRIS_H_
#define _SOFTSHADEROOM_TRIS_H_
#include "../util/type.h"
/* 用索引表示的三角形,在一系列顶点中索引 */
typedef union Triangle
{
uint v[3];
struct {
uint v1, v2, v3;
};
} Triangle;
#endif
|