public static G2OM_Candidate CreateCandidate(int candidateId, Vector3 max, Vector3 min, Matrix4x4 worldToLocal, Matrix4x4 localToWorld)
 {
     return(new G2OM_Candidate
     {
         candidate_id = (ulong)candidateId,
         aabb_max_local_space = max.AsG2OMVector3(),
         aabb_min_local_space = min.AsG2OMVector3(),
         world_to_local_matrix = worldToLocal.AsG2OMMatrix4x4(),
         local_to_world_matrix = localToWorld.AsG2OMMatrix4x4(),
     });
 }