D | bugdroid.rs | 37 static short pill(float3 p1, float3 p2, float rad, short max, float3 img) { constant 38 return (short) (max * sigmoid(pillDistance(p1, p2, img) - rad)); 41 static short cogPill(float3 p1, float3 p2, float rad, short max, float3 img) { constant 44 return (short) (max 57 static short cylinder(float3 p1, float3 p2, float rad, short max, float3 img) { constant 58 return (short) (max * sigmoid(cylinderDistance(p1, p2, img) - rad)); 61 static short cogCylinder(float3 p1, float3 p2, float rad, short max, float3 img) { variable 64 return (short) (max 77 static short circle(float3 center, float circleRadius, float3 normal, float rad, constant 78 short max, float3 img) { [all …]
|