MCPcopy Create free account
hub / github.com/OpenMeshLab/MeshXL / roty

Function roty

utils/pc_util.py:101–105  ·  view source on GitHub ↗

Rotation about the y-axis.

(t)

Source from the content-addressed store, hash-verified

99
100
101def roty(t):
102 """Rotation about the y-axis."""
103 c = np.cos(t)
104 s = np.sin(t)
105 return np.array([[c, 0, s], [0, 1, 0], [-s, 0, c]])
106
107
108def roty_batch(t):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected