u/DromedarioDeChapeu

▲ 0 r/raylib

How far should I learn OpenGL?

I'm learning Raylib because I don't really like dealing with more conventional game engines. I feel more comfortable being able to build things in a more direct way, without having to rely on 600 different types of nodes that I don't understand in Godot, or menus within menus full of features I'll never use like in Unity.

IA generated this code for a simple camera in Go:

rl.BeginMode2D(c.Camera)
{
    rl.PushMatrix()
    {
        rl.Translatef(0, 25*50, 0)
        rl.Rotatef(90, 1, 0, 0)
    }
    rl.PopMatrix()
}
rl.EndMode2D()

However, I don't feel comfortable using code that I don't understand. I still haven't managed to understand what Mode2D or a Matrix actually are, and why it needs to be pushed and popped, when i try to find any good answer i just find links to OpenGL articles.

I don't know if I'm failing on find the right documentation, or if I actually need to learn some OpenGL to use Raylib understanding what I'm doing.

reddit.com
u/DromedarioDeChapeu — 4 days ago