Refactoring  bar point value calculate
Modify camera controller
Rename variable and function