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:
axiomlogicnexus 2026-06-10 06:06:25 +00:00
parent 7b3cf19181
commit b5b02f4792

View file

@ -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)