PerspectiveCamera.
yaw
(theta, rot_center)[source]¶Rotate by a given angle about the vertical axis through the point center. This is accomplished by rotating the focal point and then setting the looking vector to point to the center.
Yaw the view.
Parameters: | theta : float, in radians
center : a tuple (x, y, z)
|
---|
Examples
>>> cam.yaw(np.pi/4, (0., 0., 0.))