removed use of #pragma-once
This commit is contained in:
parent
eb3c7805a3
commit
8601756f7e
@ -2,8 +2,9 @@
|
|||||||
// License, v. 2.0.If a copy of the MPL was not distributed with this
|
// 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/.
|
// file, You can obtain one at https ://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
#pragma once
|
#ifndef QUATERNION_H
|
||||||
//struct Vector3;
|
#define QUATERNION_H
|
||||||
|
|
||||||
#include "Vector3.h"
|
#include "Vector3.h"
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -250,3 +251,5 @@ private:
|
|||||||
|
|
||||||
Vector3 xyz() const;
|
Vector3 xyz() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
@ -2,7 +2,8 @@
|
|||||||
// License, v. 2.0.If a copy of the MPL was not distributed with this
|
// 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/.
|
// file, You can obtain one at https ://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
#pragma once
|
#ifndef VECTOR3_H
|
||||||
|
#define VECTOR3_H
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -244,3 +245,5 @@ public:
|
|||||||
/// Value -1 is *from* vector minus the difference between *from* and *to* etc.
|
/// Value -1 is *from* vector minus the difference between *from* and *to* etc.
|
||||||
static Vector3 Lerp(Vector3 from, Vector3 to, float f);
|
static Vector3 Lerp(Vector3 from, Vector3 to, float f);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
Loading…
x
Reference in New Issue
Block a user