Implement Circle header, rename all files to use .hpp extension.
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
/// Template Parameterized (Generic) Matrix Functions.
|
||||
|
||||
#include <J3ML/LinearAlgebra/Quaternion.h>
|
||||
#include <J3ML/J3ML.h>
|
||||
#include <J3ML/LinearAlgebra/Quaternion.hpp>
|
||||
#include "J3ML/J3ML.hpp"
|
||||
|
||||
|
||||
namespace J3ML::LinearAlgebra {
|
||||
@@ -148,8 +148,8 @@ namespace J3ML::LinearAlgebra {
|
||||
template<typename Matrix>
|
||||
void Set3x3PartRotateX(Matrix &m, float angle) {
|
||||
float sinz, cosz;
|
||||
sinz = std::sin(angle);
|
||||
cosz = std::cos(angle);
|
||||
sinz = Math::Sin(angle);
|
||||
cosz = Math::Cos(angle);
|
||||
|
||||
m[0][0] = 1.f;
|
||||
m[0][1] = 0.f;
|
||||
@@ -170,8 +170,8 @@ namespace J3ML::LinearAlgebra {
|
||||
template<typename Matrix>
|
||||
void Set3x3PartRotateY(Matrix &m, float angle) {
|
||||
float sinz, cosz;
|
||||
sinz = std::sin(angle);
|
||||
cosz = std::cos(angle);
|
||||
sinz = Math::Sin(angle);
|
||||
cosz = Math::Cos(angle);
|
||||
|
||||
m[0][0] = cosz;
|
||||
m[0][1] = 0.f;
|
||||
|
Reference in New Issue
Block a user