Elektrine lite

← Feed

@TomF@mastodon.gamedev.place

Post #4278013

2026-07-06 09:43 UTC

@jonikorpi@mastodon.gamedev.place Same for testing collision between objects. Subtract one fixed-point position from another as integers, convert to float, multiply by scale, and now just use as normal float32. Because it's *offset* from one to the other, it's totally fine to use a float, because that only loses precision when they're far away - in which case they didn't collide any :-)

Replies (0)

No replies.