Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/p/y/pysteroids-1.0.1/pysteroids/lib/entities.py   pysteroids(Download)
from geometry.shape import Shape
from geometry.vector import Vector
from utils import WINDOW_WIDTH, WINDOW_HEIGHT, wrap_angle, rand_direction
 
 
        self.pos += self._direction * self.lin_speed
        self.rot += self.rot_speed
        self.rot = wrap_angle(self.rot)
 
        # Set new values