flatbuffers/tests/monster_extra.fbs

20 lines
432 B
Plaintext

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";