Don't know how I pushed a copy/paste error 😮
This commit is contained in:
parent
357e4a29dd
commit
9fd39d803a
|
@ -28,7 +28,7 @@ def multiply_elements(l1,f):
|
|||
def gen_circle(center, first_vector, second_vector, maximum = 10):
|
||||
l = []
|
||||
for cpt in range(0,maximum):
|
||||
glut draw shpere theta = 2 * Math.pi * cpt/maximum
|
||||
theta = 2 * Math.pi * cpt/maximum
|
||||
first = multiply_elements(first_vector, Math.cos(theta))
|
||||
second = multiply_elements(second_vector, Math.sin(theta))
|
||||
l.append(sum_elements(sum_elements(first, second), center))
|
||||
|
|
Loading…
Reference in New Issue