Advertisement

Latest Raylib Activity

LeftyGuitar said:
Thanks, but I think that is making it more complicated than it needs to be.

That's what you need to do to know if a point is within a circle or outside. If there would be a simpler way, Pythagoras would have figured it out already. : )

But we can optimize the sqrt away by using squar…

4,439 views
Advertisement

Glad it worked! for the long line, you may just need some sort of clear screen/framebuffer  or something like that in raylib, sounds like BeginDraw() doesn’t clear the previous frame. 

5,975 views
C-Research
February 28, 2022 05:54 PM

Acosix said:

C libraries are old but useful for 2D games.

True. Much of the C libraries have been matured, even perfected, so no need to “reinvent the wheel”.  Many people discover that a lot of frameworks, engines, middleware, and tools have a lot of C at least embedded in the source. Some are …

39,660 views
Advertisement
Advertisement