Skip to content

Commit

Permalink
[unreal]FVector等几个系统USTUCT改为用模板绑定,以解决ue5下的精度丢失问题,fix #1904
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Nov 11, 2024
1 parent 8ce3ea0 commit 9e93212
Show file tree
Hide file tree
Showing 14 changed files with 640 additions and 15,473 deletions.
763 changes: 29 additions & 734 deletions unreal/Puerts/Source/JsEnv/Private/Gen/FBox2D_Wrap.cpp

Large diffs are not rendered by default.

561 changes: 21 additions & 540 deletions unreal/Puerts/Source/JsEnv/Private/Gen/FColor_Wrap.cpp

Large diffs are not rendered by default.

424 changes: 20 additions & 404 deletions unreal/Puerts/Source/JsEnv/Private/Gen/FGuid_Wrap.cpp

Large diffs are not rendered by default.

733 changes: 28 additions & 705 deletions unreal/Puerts/Source/JsEnv/Private/Gen/FIntPoint_Wrap.cpp

Large diffs are not rendered by default.

652 changes: 24 additions & 628 deletions unreal/Puerts/Source/JsEnv/Private/Gen/FIntVector_Wrap.cpp

Large diffs are not rendered by default.

1,251 changes: 46 additions & 1,205 deletions unreal/Puerts/Source/JsEnv/Private/Gen/FLinearColor_Wrap.cpp

Large diffs are not rendered by default.

1,898 changes: 64 additions & 1,834 deletions unreal/Puerts/Source/JsEnv/Private/Gen/FQuat_Wrap.cpp

Large diffs are not rendered by default.

1,273 changes: 45 additions & 1,228 deletions unreal/Puerts/Source/JsEnv/Private/Gen/FRotator_Wrap.cpp

Large diffs are not rendered by default.

2,552 changes: 98 additions & 2,454 deletions unreal/Puerts/Source/JsEnv/Private/Gen/FTransform_Wrap.cpp

Large diffs are not rendered by default.

1,481 changes: 70 additions & 1,411 deletions unreal/Puerts/Source/JsEnv/Private/Gen/FVector2D_Wrap.cpp

Large diffs are not rendered by default.

1,215 changes: 48 additions & 1,167 deletions unreal/Puerts/Source/JsEnv/Private/Gen/FVector4_Wrap.cpp

Large diffs are not rendered by default.

3,216 changes: 119 additions & 3,097 deletions unreal/Puerts/Source/JsEnv/Private/Gen/FVector_Wrap.cpp

Large diffs are not rendered by default.

66 changes: 0 additions & 66 deletions unreal/Puerts/Source/JsEnv/Private/Gen/GenHeaders.h

This file was deleted.

28 changes: 28 additions & 0 deletions unreal/Puerts/Source/JsEnv/Private/Gen/UsingTypeDecl.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* Tencent is pleased to support the open source community by making Puerts available.
* Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
* Puerts is licensed under the BSD 3-Clause License, except for the third-party components listed in the file 'LICENSE' which may
* be subject to their corresponding license terms. This file is subject to the terms and conditions defined in file 'LICENSE',
* which is part of this source code package.
*/

#pragma once

#include "CoreMinimal.h"
#include "Binding.hpp"
#include "UEDataBinding.hpp"

UsingUStruct(FBox2D);
UsingUStruct(FVector2D);
UsingUStruct(FLinearColor);
UsingUStruct(FColor);
UsingUStruct(FVector);
UsingUStruct(FGuid);
UsingUStruct(FIntPoint);
UsingUStruct(FIntVector);
UsingUStruct(FQuat);
UsingUStruct(FRotator);
UsingUStruct(FTransform);
UsingUStruct(FVector4);
UsingCppType(ScalarRegister);
UsingUStruct(FPlane);

0 comments on commit 9e93212

Please sign in to comment.