Ian Mackenzie

Results 148 comments of Ian Mackenzie

Just found one such typo bug myself and added a couple of tests for it: https://github.com/ianmackenzie/elm-geometry/commit/5065e5db05c46b1e64684dafb8e83cea4d4880d3

Update: the `coordinate-systems` branch has been merged back into `master` and no longer exists, so please make any PRs against `master` instead.

Similar to `Mesh.shadow`, might be able to have ```elm Mesh.silhouette : Mesh coordinates a -> Silhouette coordinates ``` and then `Scene3d.silhouette`, `Scene3d.withSilhouette` etc.

Possibly useful: use trick described in http://www.terathon.com/gdc07_lengyel.pdf to adjust depth calculation, instead of using actual polygon offset

@schoening what kind of `setAnimationFrame` function were you thinking of?

Ah gotcha - I thought you were referring to the *browser's* animation frame, e.g. https://package.elm-lang.org/packages/elm/browser/latest/Browser-Events#onAnimationFrame.

Currently I think the two options are: - Write a quick and dirty parser yourself (that likely only works on your specific files) - Pre-process the files offline to convert...

Does your current implementation use any kind of tolerance, or (for example) are line segments only considered to be parallel if they have *exactly* the same direction? I suspect in...

`LineSegment2d.intersectionPoint` implemented in #17.

More recently: https://travis-ci.org/ianmackenzie/elm-geometry/builds/517299577