Skip to content

Commit 2f64d06

Browse files
authored
fix(annotation): add setPointMarkerColor(vec3) overload (#475)
It's listed in the docs, but was missing from the overload set.
1 parent c6e6da5 commit 2f64d06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/neuroglancer/annotation/type_handler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ void setEndpointMarkerSize(float startSize, float endSize);
326326
void setEndpointMarkerBorderWidth(float startSize, float endSize);
327327
328328
void setPointMarkerColor(vec4 color);
329+
void setPointMarkerColor(vec3 color) { setPointMarkerColor(vec4(color, 1.0)); }
329330
void setPointMarkerBorderColor(vec4 color);
330331
void setPointMarkerSize(float size);
331332
void setPointMarkerBorderWidth(float size);

0 commit comments

Comments
 (0)