summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/mesh/am2_handler.cpp
blob: d0b92523a78270df834025d12f41f86022b5920c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include "am2_handler.h"

namespace_begin(AsuraEngine)
namespace_begin(Mesh)
/*
Asuramesh2DʽΪ.am2ʽ¡
ͷ11ֽڱһAsuraMesh2Dļ
ASURAMESH2D
v position 
t tangent 
n normal 
[c color]
[u texcoord0]
[u texcoord1]
[u texcoord2]
[u texcoord3]

f surface 


ASURAMESH2D
p 0
v 0, 0 
t -0.2, 0.45
n -0.3, 0.6
p 1

f 0, 1, 2
*/



namespace_end
namespace_end