From 2f64d063bf3caf5f252d5b33a802e934de81ade4 Mon Sep 17 00:00:00 2001 From: Stuart Berg Date: Fri, 28 Jul 2023 12:42:56 -0400 Subject: [PATCH] fix(annotation): add setPointMarkerColor(vec3) overload (#475) It's listed in the docs, but was missing from the overload set. --- src/neuroglancer/annotation/type_handler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/neuroglancer/annotation/type_handler.ts b/src/neuroglancer/annotation/type_handler.ts index 8f133acd5..51239dc34 100644 --- a/src/neuroglancer/annotation/type_handler.ts +++ b/src/neuroglancer/annotation/type_handler.ts @@ -326,6 +326,7 @@ void setEndpointMarkerSize(float startSize, float endSize); void setEndpointMarkerBorderWidth(float startSize, float endSize); void setPointMarkerColor(vec4 color); +void setPointMarkerColor(vec3 color) { setPointMarkerColor(vec4(color, 1.0)); } void setPointMarkerBorderColor(vec4 color); void setPointMarkerSize(float size); void setPointMarkerBorderWidth(float size);