Skip to content

Commit

Permalink
Substituted math.h include with cmath
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliom committed Jul 23, 2024
1 parent b3c382d commit c86c054
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion BasicRenderer/include/Vector2.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <math.h>
#include <cmath>

namespace BasicRenderer
{
Expand Down
2 changes: 1 addition & 1 deletion BasicRenderer/include/Vector3.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <math.h>
#include <cmath>
#include "Vector4.h"

namespace BasicRenderer
Expand Down
2 changes: 1 addition & 1 deletion BasicRenderer/include/Vector4.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <math.h>
#include <cmath>

namespace BasicRenderer
{
Expand Down
2 changes: 1 addition & 1 deletion BasicRenderer/source/Camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "Camera.h"
#include "PrimitiveTypes.h"
#include "Ray.h"
#include <math.h>
#include <cmath>

namespace BasicRenderer
{
Expand Down
2 changes: 1 addition & 1 deletion BasicRenderer/source/Transform.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "Transform.h"
#include <math.h>
#include <cmath>
#include "SceneObject.h"

namespace BasicRenderer
Expand Down

0 comments on commit c86c054

Please sign in to comment.