I've got a Camera class that needs to use a random number generator.
For this I've defined a function in a different file (named "utils.hpp") and this file contains a namespace "Utility" which contains these helpful functions.
But I get the following error
src/camera.hpp: In member function ‘Ray Camera::ShootSampleRay(int, int)’:
src/camera.hpp:62:25: error: ‘Utility’ has not been declared
62 | float xOffset = Utility::get_random_number();
| ^~~~~~~
src/camera.hpp:63:25: error: ‘Utility’ has not been declared
63 | float yOffset = Utility::get_random_number();
| ^~~~~~~
make: *** [makefile:2: build] Error 1
why is this ? Code will be attached in a message down below