Exemple #1
0
        static Offset <FDouble> serialise_double(FlatBufferBuilder b, IHasDouble numeral)
        {
            FDouble.StartFDouble(b);
            var vec2 = numeral.ObservationValue;

            FDouble.AddVec2(b, FVector2.CreateFVector2(b, vec2.x, vec2.y));
            //FSingle.AddRange(b, numeral.ObservationValue);
            return(FDouble.EndFDouble(b));
        }
Exemple #2
0
 public static FDouble GetRootAsFDouble(ByteBuffer _bb, FDouble obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }