code: private void setStrokeColor(Color3f color) {
      if (cacheStrokeR == color.x && cacheStrokeG == color.y && cacheStrokeB == color.z) {
        // no need to re-set the stroke color, just use the cached values
      } else {
        cacheStrokeR = color.x;
        cacheStrokeG = color.y;
        cacheStrokeB = color.z;
        setStrokeColorFromCache();
      }
    }
docs: Sets the stroke color from a Color3f
  
  @param color color where (r,g,b) = (x,y,z)