Skip to content

Commit 4306bdc

Browse files
kylejbrown17visr
authored andcommitted
Fixed the invalid keyword syntax that was causing a LoadError. All tests
passing (Julia 1.4, Ubuntu 16.04).
1 parent 3de81f1 commit 4306bdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/meshes.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ It also only losely correlates to the number of vertices, depending on the algor
112112
function mesh(primitive::Meshable; pointtype=Point, facetype=GLTriangleFace, uv=nothing,
113113
normaltype=nothing)
114114

115-
positions, faces = decompose_triangulate_fallback(primitive; pointtype, facetype)
115+
positions, faces = decompose_triangulate_fallback(primitive; pointtype=pointtype, facetype=facetype)
116116

117117
# We want to preserve any existing attributes!
118118
attrs = attributes(primitive)
@@ -156,7 +156,7 @@ end
156156
function mesh(polygon::AbstractPolygon{Dim,T}; pointtype=Point{Dim,T},
157157
facetype=GLTriangleFace, normaltype=nothing) where {Dim,T}
158158

159-
positions, faces = decompose_triangulate_fallback(polygon; pointtype, facetype)
159+
positions, faces = decompose_triangulate_fallback(polygon; pointtype=pointtype, facetype=facetype)
160160

161161
if normaltype !== nothing
162162
n = normals(positions, faces; normaltype=normaltype)

0 commit comments

Comments
 (0)