return min(max(d.x,max(d.y,d.z)),0.0) + length(max(d,0.0));. 17. } 18. . 19. float sdEllipsoid( in vec3 p, in vec3 r ).
確定! 回上一頁