this is currently out of sync with the implementation, w.r.t the single vec3 arguments vs 3 double arguments.