MCPcopy Create free account
hub / github.com/StanislavPetrovV/Software_3D_engine / create_objects

Method create_objects

main.py:17–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

15 self.create_objects()
16
17 def create_objects(self):
18 self.camera = Camera(self, [-5, 6, -55])
19 self.projection = Projection(self)
20 self.object = self.get_object_from_file('resources/t_34_obj.obj')
21 self.object.rotate_y(-math.pi / 4)
22
23 def get_object_from_file(self, filename):
24 vertex, faces = [], []

Callers 1

__init__Method · 0.95

Calls 4

get_object_from_fileMethod · 0.95
CameraClass · 0.85
ProjectionClass · 0.85
rotate_yMethod · 0.80

Tested by

no test coverage detected