public static InfinitePlanePb ToProtobuf(this SlamInfinitePlane p, ICSConverter converter)
 => new InfinitePlanePb
 {
     Color   = p.Color,
     Id      = p.Id,
     Message = p.Message,
     Normal  = p.Normal.ToProtobuf(converter),
     Offset  = p.Offset.ToProtobuf(converter)
 };
示例#2
0
 public void SetPlane(SlamInfinitePlane plane)
 {
     _position = plane.Offset;
     _up       = plane.Normal;
 }