Giter Club home page Giter Club logo

glblox's People

Contributors

pabennett avatar stuaxo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glblox's Issues

#pragma message: GLM: rotate function taking degrees as a parameter is deprecated.

I was having a bash at getting this compiling in linux and hit some issues with using a newer version of glm:

I think this would be a fairly simple tweak in the code, though obviously I haven't seen it running yet so not sure:

                 from /usr/include/glm/gtc/type_ptr.hpp:63,
                 from chunk.hpp:12,
                 from chunk.cpp:14,
                 from world.hpp:4,
                 from world.cpp:17,
                 from main.cpp:20:
/usr/include/glm/gtc/quaternion.inl: In function ‘glm::detail::tquat<T, P> glm::rotate(const glm::detail::tquat<T, P>&, const T&, const glm::detail::tvec3<T, P>&)’:
/usr/include/glm/gtc/quaternion.inl:639:165: note: #pragma message: GLM: rotate function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
 #  pragma message("GLM: rotate function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
                                                                                                                                                                     ^
/usr/include/glm/gtc/quaternion.inl: In function ‘T glm::roll(const glm::detail::tquat<T, P>&)’:
/usr/include/glm/gtc/quaternion.inl:666:151: note: #pragma message: GLM: roll function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
 #  pragma message("GLM: roll function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
                                                                                                                                                       ^
/usr/include/glm/gtc/quaternion.inl: In function ‘T glm::pitch(const glm::detail::tquat<T, P>&)’:
/usr/include/glm/gtc/quaternion.inl:680:152: note: #pragma message: GLM: pitch function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
 #  pragma message("GLM: pitch function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
                                                                                                                                                        ^
/usr/include/glm/gtc/quaternion.inl: In function ‘T glm::yaw(const glm::detail::tquat<T, P>&)’:
/usr/include/glm/gtc/quaternion.inl:694:150: note: #pragma message: GLM: yaw function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
 #  pragma message("GLM: yaw function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
                                                                                                                                                      ^
/usr/include/glm/gtc/quaternion.inl: In function ‘T glm::angle(const glm::detail::tquat<T, P>&)’:
/usr/include/glm/gtc/quaternion.inl:824:152: note: #pragma message: GLM: angle function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
 #  pragma message("GLM: angle function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
                                                                                                                                                        ^
/usr/include/glm/gtc/quaternion.inl: In function ‘glm::detail::tquat<T, P> glm::angleAxis(const T&, const glm::detail::tvec3<T, P>&)’:
/usr/include/glm/gtc/quaternion.inl:854:168: note: #pragma message: GLM: angleAxis function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
 #  pragma message("GLM: angleAxis function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
                                                                                                                                                                        ^
In file included from /usr/include/glm/gtc/matrix_transform.hpp:292:0,
                 from camera.hpp:15,
                 from camera.cpp:14,
                 from main.cpp:22:
/usr/include/glm/gtc/matrix_transform.inl: In function ‘glm::detail::tmat4x4<T, P> glm::rotate(const glm::detail::tmat4x4<T, P>&, const T&, const glm::detail::tvec3<T, P>&)’:
/usr/include/glm/gtc/matrix_transform.inl:79:165: note: #pragma message: GLM: rotate function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
 #  pragma message("GLM: rotate function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
                                                                                                                                                                     ^
/usr/include/glm/gtc/matrix_transform.inl: In function ‘glm::detail::tmat4x4<T, P> glm::rotate_slow(const glm::detail::tmat4x4<T, P>&, const T&, const glm::detail::tvec3<T, P>&)’:
/usr/include/glm/gtc/matrix_transform.inl:120:170: note: #pragma message: GLM: rotate_slow function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
 #  pragma message("GLM: rotate_slow function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
                                                                                                                                                                          ^
/usr/include/glm/gtc/matrix_transform.inl: In function ‘glm::detail::tmat4x4<T, (glm::precision)0u> glm::perspective(const valType&, const valType&, const valType&, const valType&)’:
/usr/include/glm/gtc/matrix_transform.inl:253:170: note: #pragma message: GLM: perspective function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
 #  pragma message("GLM: perspective function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
                                                                                                                                                                          ^
/usr/include/glm/gtc/matrix_transform.inl: In function ‘glm::detail::tmat4x4<T, (glm::precision)0u> glm::perspectiveFov(const valType&, const valType&, const valType&, const valType&, const valType&)’:
/usr/include/glm/gtc/matrix_transform.inl:285:173: note: #pragma message: GLM: perspectiveFov function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
 #  pragma message("GLM: perspectiveFov function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
                                                                                                                                                                             ^
/usr/include/glm/gtc/matrix_transform.inl: In function ‘glm::detail::tmat4x4<T, (glm::precision)0u> glm::infinitePerspective(T, T, T)’:
/usr/include/glm/gtc/matrix_transform.inl:311:178: note: #pragma message: GLM: infinitePerspective function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
 #  pragma message("GLM: infinitePerspective function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")
                                                                                                                                                                                  ^
/usr/include/glm/gtc/matrix_transform.inl: In function ‘glm::detail::tmat4x4<T, (glm::precision)0u> glm::tweakedInfinitePerspective(T, T, T)’:
/usr/include/glm/gtc/matrix_transform.inl:339:185: note: #pragma message: GLM: tweakedInfinitePerspective function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.
 #  pragma message("GLM: tweakedInfinitePerspective function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.