7 commit hausaufgabe

This commit is contained in:
washingtonta103380 committed 2026-10-25 18:08:05 +01:00
1 parent 6e76e97a4b
commit 61dc7c3813
2 files changed
+2

No files matched your search

+1
View File
@@ -246,3 +246,4 @@ def project_perspective(point: tuple[float, float, float],
y_2d = y * focal_length / depth * scale
return (x_2d, y_2d)
+1
View File
@@ -41,3 +41,4 @@ def test_project_perspective_scaled():
"""Projektionsfunktion mit Skalierung"""
point = (1.0, 2.0, 3.0)
assert project_ortho(point, scale=100) == (100.0, 200.0)