Skip to content

Commit 0afe1fa

Browse files
author
Tamerlan Abilov
committed
fix rasterize parameter
1 parent 00fcfa0 commit 0afe1fa

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ while True: # inside your "render()"
296296

297297
```python
298298
import logging
299-
import os
300299
import sys
301300

302301
import pygame
@@ -308,7 +307,6 @@ from play3d.utils import capture_fps
308307

309308
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
310309

311-
os.environ["SDL_VIDEO_CENTERED"] = '1'
312310
black, white = (20, 20, 20), (230, 230, 230)
313311

314312

example/main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import logging
2-
import os
32
import sys
43

54
import pygame
@@ -11,7 +10,6 @@
1110

1211
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
1312

14-
os.environ["SDL_VIDEO_CENTERED"] = '1'
1513
black, white = (20, 20, 20), (230, 230, 230)
1614

1715

play3d/models.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ def __init__(self, position=(0, 0, 0), scale=1, color=white, shimmering=False, d
9191
self.data = Matrix(data)
9292
if faces:
9393
self.faces = faces
94-
if self.faces:
95-
self.rasterize = kwargs.pop('rasterize', False)
9694
elif not self.data:
9795
self.data = Matrix(numpy.ndarray([1, 4], 'float32'))
9896
self.shimmering = shimmering

0 commit comments

Comments
 (0)