Updated dependency/instal info, added user guides. Updated flatscreen keybind #41

Closed
cyberneticmelon wants to merge 49 commits from documentation into main
Showing only changes of commit af2666d403 - Show all commits

View File

@@ -184,7 +184,7 @@ impl FieldTrait for Field {
v.length() + q.x.max(q.y.max(q.z)).min(0_f32)
}
Shape::Cylinder(CylinderShape { length, radius }) => {
let d = vec2(p.xy().length().abs() - radius, p.z.abs() - (length * 0.5));
let d = vec2(p.xz().length().abs() - radius, p.y.abs() - (length * 0.5));
d.x.max(d.y).min(0.0) + d.max(vec2(0.0, 0.0)).length()
}
Shape::Sphere(radius) => p.length() - radius,