Skip to content

Commit 7121955

Browse files
committed
Updated another plane bug and setup version.
1 parent 9b587fa commit 7121955

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

gem/plane.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
def flip(plane):
55
''' Flips the plane.'''
6-
fA = -plane.a
7-
fB = -plane.b
8-
fC = -plane.c
9-
fD = -plane.D
10-
fNormal = -plane.normal
6+
fA = -plane[0]
7+
fB = -plane[1]
8+
fC = -plane[2]
9+
fD = -plane[3]
10+
fNormal = -plane[4]
1111
return [fA, fB, fC, fD, fNormal]
1212

1313
def normalize(pdata):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setup(
44
name = 'gem',
55
packages =['gem'],
6-
version = 'v0.1.8',
6+
version = 'v0.1.10',
77
description = 'Math library for game programming in python. ',
88
author = 'Alex Marinescu',
99
author_email = 'ale632007@gmail.com',

0 commit comments

Comments
 (0)