Skip to content

Commit

Permalink
Fix cross platforms issues
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliom committed Jul 22, 2024
1 parent 6b9f4cd commit b3c382d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion BasicRenderer/include/Global.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ namespace BasicRenderer
template<typename OutputType, typename DurationMeasure, typename DurationType>
OutputType ConvertChronoDuration(const DurationType& duration)
{
return std::chrono::duration_cast<std::chrono::duration<OutputType, DurationMeasure::period>>(duration).count();
return std::chrono::duration_cast<std::chrono::duration<OutputType, typename DurationMeasure::period>>(duration).count();
}
}
6 changes: 3 additions & 3 deletions BasicRenderer/include/Transform.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ namespace BasicRenderer

protected:

inline Matrix4 GetTranslationMatrix(const Vector3& position);
inline Matrix4 GetScaleMatrix(const Vector3& scale);
inline Matrix4 GetRotationMatrix(const Vector3& rotation);
Matrix4 GetTranslationMatrix(const Vector3& position);
Matrix4 GetScaleMatrix(const Vector3& scale);
Matrix4 GetRotationMatrix(const Vector3& rotation);

inline void UpdateTransform()
{
Expand Down

0 comments on commit b3c382d

Please sign in to comment.