MCPcopy Index your code
hub / github.com/ICE27182/Python-3D-renderer / update_width_and_height

Method update_width_and_height

pyrender.py:914–916  ·  view source on GitHub ↗
(self, width=None, height=None, width_reserved=2, height_reserved=4)

Source from the content-addressed store, hash-verified

912 return width, height
913
914 def update_width_and_height(self, width=None, height=None, width_reserved=2, height_reserved=4):
915 self.width, self.height = self.get_width_and_height(width, height, width_reserved, height_reserved)
916 self.rendering_plane_z = self.width * 0.5 / tan(self.fov * pi / 360)
917
918
919 def rotate(self, yaw=0, pitch=0, roll=0):

Callers

nothing calls this directly

Calls 1

get_width_and_heightMethod · 0.95

Tested by

no test coverage detected