triangle: Rename variables

Match them with the terminology used by the web page that we link in the
code comment.