Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="b"></param>
 /// <param name="vel"></param>
 /// <param name="ang"></param>
 /// <returns></returns>
 static Offset <FRB> serialise_body_observation(FlatBufferBuilder b, Vector3 vel, Vector3 ang)
 {
     FRB.StartFRB(b);
     FRB.AddBody(b, FBody.CreateFBody(b, vel.x, vel.y, vel.z, ang.x, ang.y, ang.z));
     return(FRB.EndFRB(b));
 }
Example #2
0
 public static FRB GetRootAsFRB(ByteBuffer _bb, FRB obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }