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

Function clear

pyrender.py:3638–3644  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3636
3637
3638def clear():
3639 w, h = Camera.get_width_and_height()
3640 w += 3
3641 h += 3
3642 for _ in range(h):
3643 print(" " * w)
3644 system("cls")
3645
3646
3647if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

get_width_and_heightMethod · 0.80

Tested by

no test coverage detected