Does someone have a Frustum culling function for C++ OpenGL that is complete and works?

i’ve shown you here how it can be done

you need to start easy …
checking if a sphere is colliding with a plane OR on a certain side of a plane is relatively easy
getting the 6 planes equations for the view frustum of a camera is also not too hard
merge these 2 steps, and you’ve got it …

once you have that, you can start to replace the sphere with an AABB / OBB