Skip to content

Commit

Permalink
Update z-axes coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
mehabhalodiya committed Sep 3, 2021
1 parent 53cdb53 commit 49e2a5c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions fury/primitive.py
Expand Up @@ -644,16 +644,16 @@ def prim_pentagonalprism():
sone = (math.sqrt(10 + (2 * five))) / 4.0
stwo = (math.sqrt(10 - (2 * five))) / 4.0

vertices = np.array([[stwo/2, twoc/2, -1.84],
[sone/2, -onec/2, -1.84],
[0, -1/2, -1.84],
[-sone/2, -onec/2, -1.84],
[-stwo/2, twoc/2, -1.84],
[stwo/2, twoc/2, 1.84],
[sone/2, -onec/2, 1.84],
[0, -1/2, 1.84],
[-sone/2, -onec/2, 1.84],
[-stwo/2, twoc/2, 1.84]])
vertices = np.array([[stwo/2, twoc/2, -0.5],
[sone/2, -onec/2, -0.5],
[0, -1/2, -0.5],
[-sone/2, -onec/2, -0.5],
[-stwo/2, twoc/2, -0.5],
[stwo/2, twoc/2, 0.5],
[sone/2, -onec/2, 0.5],
[0, -1/2, 0.5],
[-sone/2, -onec/2, 0.5],
[-stwo/2, twoc/2, 0.5]])
triangles = np.array([[9, 5, 4],
[4, 5, 0],
[5, 6, 0],
Expand Down

0 comments on commit 49e2a5c

Please sign in to comment.