3 package grl.flatbuffer;
8 import com.google.flatbuffers.*;
10 @SuppressWarnings(
"unused")
11 public final class Quaternion extends Struct {
12 public Quaternion __init(
int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb;
return this; }
14 public double x() {
return bb.getDouble(bb_pos + 0); }
15 public double y() {
return bb.getDouble(bb_pos + 8); }
16 public double z() {
return bb.getDouble(bb_pos + 16); }
17 public double w() {
return bb.getDouble(bb_pos + 24); }
25 return builder.offset();
static int createQuaternion(FlatBufferBuilder builder, double x, double y, double z, double w)
Quaternion __init(int _i, ByteBuffer _bb)