Ack is specifically targeted for searching source code. It’s generally more convenient to use than grep since it has an built in list of source code file types it knows and nice default highlitning.
$ ack-grep glMatrix
The Ubuntu/Debian apt package name is ack-grep , install by typing
sudo apt-get intall ack-grep
For other operating systems and ways of installing, see the ack homepage.