Skip to content

Commit

Permalink
Release v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
skremiec committed Oct 30, 2015
1 parent 1d68188 commit bb9eb1b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "k3d-jupyter",
"version": "0.2.0",
"version": "0.2.1",
"authors": [
"Artur Trzęsiok <[email protected]>",
"Sebastian Kremiec <[email protected]>"
Expand Down
10 changes: 5 additions & 5 deletions k3d/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ def points(cls, view_matrix, positions, colors, point_size = 1.0):
def line(cls, view_matrix, positions, width=1, color=0xFFFFFF):
return {
'type': 'Line',
'modelViewMatrix': cls.__matrix_to_list(view_matrix),
'modelViewMatrix': cls.__to_list(view_matrix),
'color': color,
'lineWidth': width,
'pointsPositions': cls.__matrix_to_list(positions),
'pointsPositions': cls.__to_list(positions),
}

@classmethod
def surface(cls, view_matrix, heights, resolution):
return {
'type': 'Surface',
'modelViewMatrix': cls.__matrix_to_list(view_matrix),
'modelViewMatrix': cls.__to_list(view_matrix),
'heights': list(heights),
'resolution': resolution,
}
Expand All @@ -58,11 +58,11 @@ def surface(cls, view_matrix, heights, resolution):
def marching_cubes(cls, view_matrix, scalars_field, resolution, isolation, color=0xFFFFFF):
return {
'type': 'MarchingCubes',
'modelViewMatrix': cls.__matrix_to_list(view_matrix),
'modelViewMatrix': cls.__to_list(view_matrix),
'resolution': resolution,
'color': color,
'isolation': isolation,
'scalarsField': cls.__matrix_to_list(scalars_field),
'scalarsField': cls.__to_list(scalars_field),
}

@classmethod
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name='k3d',
version='0.2.0',
version='0.2.1',
packages=['k3d'],
include_package_data=True,
install_requires=['jupyter-pip'],
Expand Down

0 comments on commit bb9eb1b

Please sign in to comment.