Fixes and splines
This commit is contained in:
parent
c638a20ae6
commit
64614bc487
6 changed files with 99 additions and 14 deletions
|
@ -37,7 +37,7 @@ public class SDFCapedCone extends SDFPrimitive {
|
|||
|
||||
@Override
|
||||
public float getDistance(float x, float y, float z) {
|
||||
float qx = MHelper.length(x, z);;
|
||||
float qx = MHelper.length(x, z);
|
||||
float k2x = radius2 - radius1;
|
||||
float k2y = 2 * height;
|
||||
float cax = qx - MHelper.min(qx, (y < 0F) ? radius1 : radius2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue