Initial Update to new version
This commit is contained in:
@@ -149,8 +149,8 @@ std::string GetAzazelName()
|
||||
|
||||
float Time_DeltaTime()
|
||||
{
|
||||
if (app::Time_get_deltaTime) {
|
||||
return app::Time_get_deltaTime(nullptr);
|
||||
if (app::Time_1_get_deltaTime) {
|
||||
return app::Time_1_get_deltaTime(nullptr);
|
||||
}
|
||||
|
||||
return 0.0f;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "UnityEngine/Math.h"
|
||||
#include <helpers.h>
|
||||
|
||||
const char* Math::Vector3::ToString(app::Vector3__Boxed* v)
|
||||
const char* Math::Vector3::ToString(app::Vector3* v)
|
||||
{
|
||||
app::String* str = app::Vector3_ToString(v, nullptr);
|
||||
|
||||
|
||||
@@ -33,9 +33,9 @@ app::Vector3 Transform::GetRight(app::Transform* transform)
|
||||
return app::Transform_get_right(transform, nullptr);
|
||||
}
|
||||
|
||||
app::Vector3 Transform::GetEulerAngles(app::Quaternion__Boxed rotation)
|
||||
app::Vector3 Transform::GetEulerAngles(app::Quaternion* rotation)
|
||||
{
|
||||
return app::Quaternion_get_eulerAngles(&rotation, nullptr);
|
||||
return app::Quaternion_get_eulerAngles(rotation, nullptr);
|
||||
}
|
||||
|
||||
app::Quaternion Transform::QuaternionEuler(app::Vector3 eulerAngles)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Math {
|
||||
namespace Vector3 {
|
||||
const char* ToString(app::Vector3__Boxed* v);
|
||||
const char* ToString(app::Vector3* v);
|
||||
const char* ToString(app::Vector3 v);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Transform {
|
||||
app::Quaternion GetRotation(app::Transform* transform);
|
||||
app::Vector3 GetForward(app::Transform* transform);
|
||||
app::Vector3 GetRight(app::Transform* transform);
|
||||
app::Vector3 GetEulerAngles(app::Quaternion__Boxed rotation);
|
||||
app::Vector3 GetEulerAngles(app::Quaternion* rotation);
|
||||
app::Quaternion QuaternionEuler(app::Vector3 eulerAngles);
|
||||
app::Quaternion QuaternionIdentity();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user