Skip to content

Commit

Permalink
try fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
BlurryLight committed Nov 15, 2024
1 parent 16ec3b6 commit a97ae19
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions unreal/Puerts/Source/JsEnv/Private/Gen/FVector_Wrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ struct AutoRegisterForFVector
.Method("IsNormalized", MakeFunction(&FVector::IsNormalized))
.Method("Normalize", MakeFunction(&FVector::Normalize, SMALL_NUMBER))
.Method("GetUnsafeNormal", MakeFunction(&FVector::GetUnsafeNormal))
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 3
.Method("GetSafeNormal", MakeFunction(&FVector::GetSafeNormal, SMALL_NUMBER, FVector::ZeroVector))
.Method("GetSafeNormal2D", MakeFunction(&FVector::GetSafeNormal2D, SMALL_NUMBER, FVector::ZeroVector))
#else
.Method("GetSafeNormal", MakeFunction(&FVector::GetSafeNormal, SMALL_NUMBER))
.Method("GetSafeNormal2D", MakeFunction(&FVector::GetSafeNormal2D, SMALL_NUMBER))
#endif
.Method("GetSafeNormal", MakeFunction(&FVector::GetSafeNormal, SMALL_NUMBER, FVector::ZeroVector))
.Method("GetSafeNormal2D", MakeFunction(&FVector::GetSafeNormal2D, SMALL_NUMBER, FVector::ZeroVector))
.Method(
Expand Down

0 comments on commit a97ae19

Please sign in to comment.