Skip to content

Commit

Permalink
[skip ci] Fix Loc to Point23 conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
rgcv committed Aug 20, 2021
1 parent 2bfe241 commit a3d5599
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "CGAL"
uuid = "15fcbb24-5a00-427b-98c5-e32879a22884"
authors = ["Rui Ventura <rventura.pt@outlook.com>"]
version = "0.5.2"
version = "0.5.3"

[deps]
libcgal_julia_jll = "e9ad47b2-a301-5fb7-a0bd-6eece649b37c"
Expand Down
4 changes: 2 additions & 2 deletions src/glue/khepri/kernel.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# points
convert(::Type{Point2}, p::Loc) = Point2(cx(q), cy(q))
convert(::Type{Point3}, p::Loc) = Point3(cx(q), cy(q), cz(q))
convert(::Type{Point2}, p::Loc) = Point2(cx(p), cy(p))
convert(::Type{Point3}, p::Loc) = Point3(cx(p), cy(p), cz(p))

convert(::Type{Loc}, ::Origin) = u0()
@cxxdereference convert(::Type{Loc}, p::Point2) = xy( x(p)[], y(p)[])
Expand Down

2 comments on commit a3d5599

@rgcv
Copy link
Owner Author

@rgcv rgcv commented on a3d5599 Aug 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/43238

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.3 -m "<description of version>" a3d55993938f271f3243fb86cb59f2e481bac7d0
git push origin v0.5.3

Please sign in to comment.