summaryrefslogtreecommitdiff
path: root/tests/monster_extra.fbs
blob: 60a9ab99c780f373aa4449ce532da1c02194fe91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace MyGame;

// Not all programming languages support this extra table.
table MonsterExtra {
  // Float-point values with NaN and Inf defaults.
  testf_nan:float = nan;
  testf_pinf:float = +inf;
  testf_ninf:float = -inf;
  testd_nan:double = nan;
  testd_pinf:double = +inf;
  testd_ninf:double = -inf;
  testf_vec : [float];
  testd_vec : [double];
}

root_type MonsterExtra;

file_identifier "MONE";
file_extension "mon";