3 package grl.flatbuffer;
8 import com.google.flatbuffers.*;
10 @SuppressWarnings(
"unused")
16 public double r1() {
int o = __offset(4);
return o != 0 ? bb.getDouble(o + bb_pos) : 0; }
17 public double r2() {
int o = __offset(6);
return o != 0 ? bb.getDouble(o + bb_pos) : 0; }
18 public double r3() {
int o = __offset(8);
return o != 0 ? bb.getDouble(o + bb_pos) : 0; }
19 public byte
eulerOrder() {
int o = __offset(10);
return o != 0 ? bb.get(o + bb_pos) : 0; }
26 builder.startObject(4);
35 public static void addR1(FlatBufferBuilder builder,
double r1) { builder.addDouble(0, r1, 0); }
36 public static void addR2(FlatBufferBuilder builder,
double r2) { builder.addDouble(1, r2, 0); }
37 public static void addR3(FlatBufferBuilder builder,
double r3) { builder.addDouble(2, r3, 0); }
38 public static void addEulerOrder(FlatBufferBuilder builder, byte eulerOrder) { builder.addByte(3, eulerOrder, 0); }
40 int o = builder.endObject();
static EulerRotationParams getRootAsEulerRotationParams(ByteBuffer _bb)
static void addR3(FlatBufferBuilder builder, double r3)
static EulerRotationParams getRootAsEulerRotationParams(ByteBuffer _bb, EulerRotationParams obj)
static int endEulerRotationParams(FlatBufferBuilder builder)
EulerRotationParams __init(int _i, ByteBuffer _bb)
static void addEulerOrder(FlatBufferBuilder builder, byte eulerOrder)
static int createEulerRotationParams(FlatBufferBuilder builder, double r1, double r2, double r3, byte eulerOrder)
static void addR2(FlatBufferBuilder builder, double r2)
static void addR1(FlatBufferBuilder builder, double r1)
static void startEulerRotationParams(FlatBufferBuilder builder)