Phase 2A: Fix C4701 TangentX initialization warning
- Initialize Normal and TangentX to ZeroVector before switch - Build: 4 actions, 38.38s, exit code 0, zero warnings
This commit is contained in:
parent
7b3cf19181
commit
b5b02f4792
1 changed files with 2 additions and 2 deletions
|
|
@ -125,8 +125,8 @@ void AHyperTwistClassicCubeActor::CreateCubeletFace(UProceduralMeshComponent* Me
|
|||
TArray<FColor> Colors;
|
||||
TArray<FProcMeshTangent> Tangents;
|
||||
|
||||
FVector Normal;
|
||||
FVector TangentX;
|
||||
FVector Normal = FVector::ZeroVector;
|
||||
FVector TangentX = FVector::ZeroVector;
|
||||
TArray<FVector> FaceVerts;
|
||||
|
||||
switch (Face)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue