removed use of #pragma-once

This commit is contained in:
Pascal Serrarens 2022-02-10 17:22:52 +01:00
parent eb3c7805a3
commit 8601756f7e
2 changed files with 9 additions and 3 deletions

View File

@ -2,8 +2,9 @@
// License, v. 2.0.If a copy of the MPL was not distributed with this
// file, You can obtain one at https ://mozilla.org/MPL/2.0/.
#pragma once
//struct Vector3;
#ifndef QUATERNION_H
#define QUATERNION_H
#include "Vector3.h"
extern "C" {
@ -250,3 +251,5 @@ private:
Vector3 xyz() const;
};
#endif

View File

@ -2,7 +2,8 @@
// License, v. 2.0.If a copy of the MPL was not distributed with this
// file, You can obtain one at https ://mozilla.org/MPL/2.0/.
#pragma once
#ifndef VECTOR3_H
#define VECTOR3_H
extern "C" {
/// <summary>
@ -244,3 +245,5 @@ public:
/// Value -1 is *from* vector minus the difference between *from* and *to* etc.
static Vector3 Lerp(Vector3 from, Vector3 to, float f);
};
#endif