spelling change, spacial to spatial

This commit is contained in:
Grant Sanderson
2015-10-06 15:27:12 -07:00
parent 0bf582a1bc
commit cc6b541f00
4 changed files with 11 additions and 11 deletions

View File

@ -51,8 +51,8 @@ class Animation(object):
(abs(points[:,1]) < self.restricted_height)
for filter_function in self.filter_functions:
admissibles *= ~filter_function(points)
if any(self.spacial_center):
points += self.spacial_center
if any(self.spatial_center):
points += self.spatial_center
#Filter out points pushed off the edge
admissibles *= (abs(points[:,0]) < SPACE_WIDTH) * \
(abs(points[:,1]) < SPACE_HEIGHT)
@ -82,7 +82,7 @@ class Animation(object):
return self
def shift(self, vector):
self.spacial_center += vector
self.spatial_center += vector
return self
def set_run_time(self, time):