You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't understand this: other_side_a = (side_a - (side_a % 2) + 2) % 4
I want to ask you what the ' other_side_a' and 'other_keys_a,' mean?
Thank you very much~
The text was updated successfully, but these errors were encountered:
def __get_face_info(mesh, edge_id, side): # 当side=0, 或 side=2
key_a = mesh.gemm_edges[edge_id, side]
key_b = mesh.gemm_edges[edge_id, side + 1]
side_a = mesh.sides[edge_id, side]
side_b = mesh.sides[edge_id, side + 1]
other_side_a = (side_a - (side_a % 2) + 2) % 4
other_side_b = (side_b - (side_b % 2) + 2) % 4
other_keys_a = [mesh.gemm_edges[key_a, other_side_a], mesh.gemm_edges[key_a, other_side_a + 1]]
other_keys_b = [mesh.gemm_edges[key_b, other_side_b], mesh.gemm_edges[key_b, other_side_b + 1]]
return key_a, key_b, side_a, side_b, other_side_a, other_side_b, other_keys_a, other_keys_b
I don't understand this: other_side_a = (side_a - (side_a % 2) + 2) % 4
I want to ask you what the ' other_side_a' and 'other_keys_a,' mean?
Thank you very much~
The text was updated successfully, but these errors were encountered: