If you installed it using Homebrew, the file containing the library should exist within "freeglut" under "opt/homebrew".
You can also drag and drop the folder with GLUT code into Xcode and select the option with "copy" instead of "reference," then make use of the headers.
Topic:
App & System Services
SubTopic:
Core OS
Tags: