Add const for getXXX functions
Merge pull request #17 from zhukaixy/3d-extension

Add const for getXXX functions