Specifically, the error I was seeking was "Expecting identifier". After a bit of trial and error, I found the cause.
When programming in C++, it is often desirable to include the "const" keyword before certain variables in function definitions. This tells the compiler that this particular variable will not be changed inside the function (and aids in debugging). I assumed B3D had similar functionality, since it also has the Const keyword; but it does not. Const (I assume) can only be used when specifying global variables, not function parameters.
When programming in C++, it is often desirable to include the "const" keyword before certain variables in function definitions. This tells the compiler that this particular variable will not be changed inside the function (and aids in debugging). I assumed B3D had similar functionality, since it also has the Const keyword; but it does not. Const (I assume) can only be used when specifying global variables, not function parameters.