currentPoint is a point on the center of a certain blood vessel. Currently, now, the camera view up
is normal.The code is as follows
let direction1 = vec3.subtract([], point1, point2)
let direction2 = vec3.subtract([], point2, point3)
vec3.normalize(direction1, direction1)
vec3.normalize(direction2, direction2)
let normal = vec3.subtract([], direction1, direction2)
vec3.normalize(normal, normal)
let Bnormal = vec3.cross([], direction2, normal)
the camera view up
is set to Bnormal ? Or how to change