Skip to content

Commit f383585

Browse files
committed
Fixed Docstrings
1 parent b9b50ba commit f383585

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

graphics/interactive_3d_renderer.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,13 @@ class GraphicsWindow:
312312
"""
313313
Tkinter window renderer for real-time 3D mesh display and camera control.
314314
315+
Examples:
316+
>>> import os
317+
>>> if os.environ.get("DISPLAY") or os.name == "nt":
318+
... win = GraphicsWindow(width=200, height=100)
319+
... isinstance(win, GraphicsWindow)
320+
True
321+
315322
Interactive controls:
316323
- W/A/S/D: Move camera (forward, left, back, right)
317324
- Up/Down/Left/Right: Rotate camera

0 commit comments

Comments
 (0)