[xoreos-git] [xoreos/xoreos] 1c9386: BUILD: Include GLM library

GitHub noreply at github.com
Sat May 19 11:47:26 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/xoreos/xoreos
  Commit: 1c9386907ae8c3f54dc21760e5ea1434d29b6d9e
      https://github.com/xoreos/xoreos/commit/1c9386907ae8c3f54dc21760e5ea1434d29b6d9e
  Author: Vsevolod Kremianskii <vkremianskii at gmail.com>
  Date:   2018-05-19 (Sat, 19 May 2018)

  Changed paths:
    M AUTHORS
    M dists/debian/copyright
    A glm/README.xoreos
    A glm/common.hpp
    A glm/copying.txt
    A glm/detail/_features.hpp
    A glm/detail/_fixes.hpp
    A glm/detail/_noise.hpp
    A glm/detail/_swizzle.hpp
    A glm/detail/_swizzle_func.hpp
    A glm/detail/_vectorize.hpp
    A glm/detail/dummy.cpp
    A glm/detail/func_common.hpp
    A glm/detail/func_common.inl
    A glm/detail/func_common_simd.inl
    A glm/detail/func_exponential.hpp
    A glm/detail/func_exponential.inl
    A glm/detail/func_exponential_simd.inl
    A glm/detail/func_geometric.hpp
    A glm/detail/func_geometric.inl
    A glm/detail/func_geometric_simd.inl
    A glm/detail/func_integer.hpp
    A glm/detail/func_integer.inl
    A glm/detail/func_integer_simd.inl
    A glm/detail/func_matrix.hpp
    A glm/detail/func_matrix.inl
    A glm/detail/func_matrix_simd.inl
    A glm/detail/func_packing.hpp
    A glm/detail/func_packing.inl
    A glm/detail/func_packing_simd.inl
    A glm/detail/func_trigonometric.hpp
    A glm/detail/func_trigonometric.inl
    A glm/detail/func_trigonometric_simd.inl
    A glm/detail/func_vector_relational.hpp
    A glm/detail/func_vector_relational.inl
    A glm/detail/func_vector_relational_simd.inl
    A glm/detail/glm.cpp
    A glm/detail/precision.hpp
    A glm/detail/rules.mk
    A glm/detail/setup.hpp
    A glm/detail/type_float.hpp
    A glm/detail/type_gentype.hpp
    A glm/detail/type_gentype.inl
    A glm/detail/type_half.hpp
    A glm/detail/type_half.inl
    A glm/detail/type_int.hpp
    A glm/detail/type_mat.hpp
    A glm/detail/type_mat.inl
    A glm/detail/type_mat2x2.hpp
    A glm/detail/type_mat2x2.inl
    A glm/detail/type_mat2x3.hpp
    A glm/detail/type_mat2x3.inl
    A glm/detail/type_mat2x4.hpp
    A glm/detail/type_mat2x4.inl
    A glm/detail/type_mat3x2.hpp
    A glm/detail/type_mat3x2.inl
    A glm/detail/type_mat3x3.hpp
    A glm/detail/type_mat3x3.inl
    A glm/detail/type_mat3x4.hpp
    A glm/detail/type_mat3x4.inl
    A glm/detail/type_mat4x2.hpp
    A glm/detail/type_mat4x2.inl
    A glm/detail/type_mat4x3.hpp
    A glm/detail/type_mat4x3.inl
    A glm/detail/type_mat4x4.hpp
    A glm/detail/type_mat4x4.inl
    A glm/detail/type_mat4x4_simd.inl
    A glm/detail/type_vec.hpp
    A glm/detail/type_vec.inl
    A glm/detail/type_vec1.hpp
    A glm/detail/type_vec1.inl
    A glm/detail/type_vec2.hpp
    A glm/detail/type_vec2.inl
    A glm/detail/type_vec3.hpp
    A glm/detail/type_vec3.inl
    A glm/detail/type_vec4.hpp
    A glm/detail/type_vec4.inl
    A glm/detail/type_vec4_simd.inl
    A glm/exponential.hpp
    A glm/ext.hpp
    A glm/fwd.hpp
    A glm/geometric.hpp
    A glm/glm.hpp
    A glm/gtc/bitfield.hpp
    A glm/gtc/bitfield.inl
    A glm/gtc/color_encoding.inl
    A glm/gtc/color_space.hpp
    A glm/gtc/color_space.inl
    A glm/gtc/constants.hpp
    A glm/gtc/constants.inl
    A glm/gtc/epsilon.hpp
    A glm/gtc/epsilon.inl
    A glm/gtc/functions.hpp
    A glm/gtc/functions.inl
    A glm/gtc/integer.hpp
    A glm/gtc/integer.inl
    A glm/gtc/matrix_access.hpp
    A glm/gtc/matrix_access.inl
    A glm/gtc/matrix_integer.hpp
    A glm/gtc/matrix_inverse.hpp
    A glm/gtc/matrix_inverse.inl
    A glm/gtc/matrix_transform.hpp
    A glm/gtc/matrix_transform.inl
    A glm/gtc/noise.hpp
    A glm/gtc/noise.inl
    A glm/gtc/packing.hpp
    A glm/gtc/packing.inl
    A glm/gtc/quaternion.hpp
    A glm/gtc/quaternion.inl
    A glm/gtc/quaternion_simd.inl
    A glm/gtc/random.hpp
    A glm/gtc/random.inl
    A glm/gtc/reciprocal.hpp
    A glm/gtc/reciprocal.inl
    A glm/gtc/round.hpp
    A glm/gtc/round.inl
    A glm/gtc/rules.mk
    A glm/gtc/type_aligned.hpp
    A glm/gtc/type_precision.hpp
    A glm/gtc/type_precision.inl
    A glm/gtc/type_ptr.hpp
    A glm/gtc/type_ptr.inl
    A glm/gtc/ulp.hpp
    A glm/gtc/ulp.inl
    A glm/gtc/vec1.hpp
    A glm/gtc/vec1.inl
    A glm/gtx/associated_min_max.hpp
    A glm/gtx/associated_min_max.inl
    A glm/gtx/bit.hpp
    A glm/gtx/bit.inl
    A glm/gtx/closest_point.hpp
    A glm/gtx/closest_point.inl
    A glm/gtx/color_space.hpp
    A glm/gtx/color_space.inl
    A glm/gtx/color_space_YCoCg.hpp
    A glm/gtx/color_space_YCoCg.inl
    A glm/gtx/common.hpp
    A glm/gtx/common.inl
    A glm/gtx/compatibility.hpp
    A glm/gtx/compatibility.inl
    A glm/gtx/component_wise.hpp
    A glm/gtx/component_wise.inl
    A glm/gtx/dual_quaternion.hpp
    A glm/gtx/dual_quaternion.inl
    A glm/gtx/euler_angles.hpp
    A glm/gtx/euler_angles.inl
    A glm/gtx/extend.hpp
    A glm/gtx/extend.inl
    A glm/gtx/extended_min_max.hpp
    A glm/gtx/extended_min_max.inl
    A glm/gtx/fast_exponential.hpp
    A glm/gtx/fast_exponential.inl
    A glm/gtx/fast_square_root.hpp
    A glm/gtx/fast_square_root.inl
    A glm/gtx/fast_trigonometry.hpp
    A glm/gtx/fast_trigonometry.inl
    A glm/gtx/float_notmalize.inl
    A glm/gtx/gradient_paint.hpp
    A glm/gtx/gradient_paint.inl
    A glm/gtx/handed_coordinate_space.hpp
    A glm/gtx/handed_coordinate_space.inl
    A glm/gtx/hash.hpp
    A glm/gtx/hash.inl
    A glm/gtx/integer.hpp
    A glm/gtx/integer.inl
    A glm/gtx/intersect.hpp
    A glm/gtx/intersect.inl
    A glm/gtx/io.hpp
    A glm/gtx/io.inl
    A glm/gtx/log_base.hpp
    A glm/gtx/log_base.inl
    A glm/gtx/matrix_cross_product.hpp
    A glm/gtx/matrix_cross_product.inl
    A glm/gtx/matrix_decompose.hpp
    A glm/gtx/matrix_decompose.inl
    A glm/gtx/matrix_interpolation.hpp
    A glm/gtx/matrix_interpolation.inl
    A glm/gtx/matrix_major_storage.hpp
    A glm/gtx/matrix_major_storage.inl
    A glm/gtx/matrix_operation.hpp
    A glm/gtx/matrix_operation.inl
    A glm/gtx/matrix_query.hpp
    A glm/gtx/matrix_query.inl
    A glm/gtx/matrix_transform_2d.hpp
    A glm/gtx/matrix_transform_2d.inl
    A glm/gtx/mixed_product.hpp
    A glm/gtx/mixed_product.inl
    A glm/gtx/norm.hpp
    A glm/gtx/norm.inl
    A glm/gtx/normal.hpp
    A glm/gtx/normal.inl
    A glm/gtx/normalize_dot.hpp
    A glm/gtx/normalize_dot.inl
    A glm/gtx/number_precision.hpp
    A glm/gtx/number_precision.inl
    A glm/gtx/optimum_pow.hpp
    A glm/gtx/optimum_pow.inl
    A glm/gtx/orthonormalize.hpp
    A glm/gtx/orthonormalize.inl
    A glm/gtx/perpendicular.hpp
    A glm/gtx/perpendicular.inl
    A glm/gtx/polar_coordinates.hpp
    A glm/gtx/polar_coordinates.inl
    A glm/gtx/projection.hpp
    A glm/gtx/projection.inl
    A glm/gtx/quaternion.hpp
    A glm/gtx/quaternion.inl
    A glm/gtx/range.hpp
    A glm/gtx/raw_data.hpp
    A glm/gtx/raw_data.inl
    A glm/gtx/rotate_normalized_axis.hpp
    A glm/gtx/rotate_normalized_axis.inl
    A glm/gtx/rotate_vector.hpp
    A glm/gtx/rotate_vector.inl
    A glm/gtx/rules.mk
    A glm/gtx/scalar_multiplication.hpp
    A glm/gtx/scalar_relational.hpp
    A glm/gtx/scalar_relational.inl
    A glm/gtx/spline.hpp
    A glm/gtx/spline.inl
    A glm/gtx/std_based_type.hpp
    A glm/gtx/std_based_type.inl
    A glm/gtx/string_cast.hpp
    A glm/gtx/string_cast.inl
    A glm/gtx/transform.hpp
    A glm/gtx/transform.inl
    A glm/gtx/transform2.hpp
    A glm/gtx/transform2.inl
    A glm/gtx/type_aligned.hpp
    A glm/gtx/type_aligned.inl
    A glm/gtx/type_trait.hpp
    A glm/gtx/type_trait.inl
    A glm/gtx/vector_angle.hpp
    A glm/gtx/vector_angle.inl
    A glm/gtx/vector_query.hpp
    A glm/gtx/vector_query.inl
    A glm/gtx/wrap.hpp
    A glm/gtx/wrap.inl
    A glm/integer.hpp
    A glm/mat2x2.hpp
    A glm/mat2x3.hpp
    A glm/mat2x4.hpp
    A glm/mat3x2.hpp
    A glm/mat3x3.hpp
    A glm/mat3x4.hpp
    A glm/mat4x2.hpp
    A glm/mat4x3.hpp
    A glm/mat4x4.hpp
    A glm/matrix.hpp
    A glm/packing.hpp
    A glm/rules.mk
    A glm/simd/common.h
    A glm/simd/exponential.h
    A glm/simd/geometric.h
    A glm/simd/integer.h
    A glm/simd/matrix.h
    A glm/simd/packing.h
    A glm/simd/platform.h
    A glm/simd/rules.mk
    A glm/simd/trigonometric.h
    A glm/simd/vector_relational.h
    A glm/trigonometric.hpp
    A glm/vec2.hpp
    A glm/vec3.hpp
    A glm/vec4.hpp
    A glm/vector_relational.hpp
    M rules.mk

  Log Message:
  -----------
  BUILD: Include GLM library

Include files were modified to silence compiler warnings about variable
shadowing


  Commit: 8f6cf9a2eab1d1d93ccb32edceee38bb238daa90
      https://github.com/xoreos/xoreos/commit/8f6cf9a2eab1d1d93ccb32edceee38bb238daa90
  Author: Vsevolod Kremianskii <vkremianskii at gmail.com>
  Date:   2018-05-19 (Sat, 19 May 2018)

  Changed paths:
    M CMakeLists.txt
    M configure.ac

  Log Message:
  -----------
  BUILD: Disable warnings about unused local typedefs (GLM)


  Commit: 3558b8089a5f26734c897eece467d64e031532a4
      https://github.com/xoreos/xoreos/commit/3558b8089a5f26734c897eece467d64e031532a4
  Author: Vsevolod Kremianskii <vkremianskii at gmail.com>
  Date:   2018-05-19 (Sat, 19 May 2018)

  Changed paths:
    M glm/README.xoreos
    M glm/simd/platform.h

  Log Message:
  -----------
  GLM: Fix GCC version detection for GCC 7.3+


  Commit: 363027880517ef1e78868d07faab2af25d374cfb
      https://github.com/xoreos/xoreos/commit/363027880517ef1e78868d07faab2af25d374cfb
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-05-19 (Sat, 19 May 2018)

  Changed paths:
    M glm/README.xoreos
    M glm/detail/func_integer.inl

  Log Message:
  -----------
  GLM: Silence compiler warning about identical if-branches


  Commit: de5e634eb091532b3f1cd0cc830de9e6bc1c0fd1
      https://github.com/xoreos/xoreos/commit/de5e634eb091532b3f1cd0cc830de9e6bc1c0fd1
  Author: Vsevolod Kremianskii <vkremianskii at gmail.com>
  Date:   2018-05-19 (Sat, 19 May 2018)

  Changed paths:
    M src/aurora/gff4file.cpp
    M src/aurora/gff4file.h
    M src/common/boundingbox.cpp
    M src/common/boundingbox.h
    R src/common/matrix4x4.cpp
    R src/common/matrix4x4.h
    M src/common/rules.mk
    R src/common/vector3.h
    M src/engines/aurora/satellitecamera.cpp
    M src/engines/aurora/satellitecamera.h
    M src/engines/dragonage/room.cpp
    M src/engines/dragonage2/room.cpp
    M src/engines/kotor/gui/chargen/charactergeneration.cpp
    M src/engines/kotor/gui/chargen/classselection.cpp
    M src/engines/kotor/gui/chargen/classselection.h
    M src/engines/kotor/gui/ingame/minimap.cpp
    M src/engines/witcher/lua/bindings.cpp
    M src/graphics/aurora/animation.cpp
    M src/graphics/aurora/animation.h
    M src/graphics/aurora/animnode.h
    M src/graphics/aurora/cube.cpp
    M src/graphics/aurora/cube.h
    M src/graphics/aurora/model.cpp
    M src/graphics/aurora/model.h
    M src/graphics/aurora/model_dragonage.cpp
    M src/graphics/aurora/model_dragonage.h
    M src/graphics/aurora/model_nwn.cpp
    M src/graphics/aurora/model_sonic.cpp
    M src/graphics/aurora/model_sonic.h
    M src/graphics/aurora/modelnode.cpp
    M src/graphics/aurora/modelnode.h
    M src/graphics/aurora/subscenequad.cpp
    M src/graphics/aurora/subscenequad.h
    M src/graphics/camera.cpp
    M src/graphics/graphics.cpp
    M src/graphics/graphics.h
    M src/graphics/mesh/mesh.h
    M src/graphics/render/renderman.cpp
    M src/graphics/render/renderman.h
    M src/graphics/render/renderqueue.cpp
    M src/graphics/render/renderqueue.h
    M src/graphics/shader/shader.cpp
    M src/graphics/shader/shaderrenderable.cpp
    M src/graphics/shader/shaderrenderable.h
    M src/graphics/shader/shadersurface.cpp
    M src/graphics/shader/shadersurface.h
    M tests/aurora/gff4file.cpp
    M tests/common/boundingbox.cpp
    R tests/common/matrix4x4.cpp
    M tests/common/rules.mk
    R tests/common/vector3.cpp

  Log Message:
  -----------
  COMMON: Replace Vector3 and Matrix4x4 with GLM classes

Three differences to be aware of:
1. glm functions do not work well with integers
2. glm::rotate takes angle in radians
3. glm::rotate fails when axis dot product is zero


  Commit: e4a99b3359120983dfbf447ec25865118a365924
      https://github.com/xoreos/xoreos/commit/e4a99b3359120983dfbf447ec25865118a365924
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-05-19 (Sat, 19 May 2018)

  Changed paths:
    M src/engines/aurora/satellitecamera.cpp

  Log Message:
  -----------
  ENGINES: Rewrite switch in SatelliteCamera::handleCameraInput()

gcc 8.1's -Wimplicit-fallthrough seemed to be confused about that
switch, thinking it might fall through to the default case.

Rewriting the switch slightly so it's more obvious.


Compare: https://github.com/xoreos/xoreos/compare/d6ee0365255e...e4a99b335912
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the xoreos-git mailing list