Theory: "I'll convert all coordinates to integers, operations on them will be faster than floats!"
Reality: Integer Overflow errors

0
1
Federico Mena Quintero
Follow

@ebel are you talking about Cairo?

(It uses fixed point not to be fast, but to do Bentley-Ottman intersections. But it overflows with big coordinates.)

@ebel oh ok :) I hope you find a solution. Graphics are hard.

0
0

@federicomena I want to reimplement my "find all intersections" code with that algorithm

0
0
Mastodon

This page describes the mastodon.social instance - wondering what Mastodon is? Check out joinmastodon.org instead! In essence, Mastodon is a decentralized, open source social network. This is just one part of the network, run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!

Hero image by @b_cavello