summaryrefslogtreecommitdiff
path: root/Source/modules/asura-core/Mesh/Am2Handler.cpp
blob: 115797f2c6162eaaf0cbac410db797a0888d1b4a (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 "Am2Handler.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