From b5b02f479211532c0f161ccf3d6068dcce2c2c6f Mon Sep 17 00:00:00 2001 From: axiomlogicnexus Date: Wed, 10 Jun 2026 06:06:25 +0000 Subject: [PATCH] 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 --- .../HyperTwistSimulation/HyperTwistClassicCubeActor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistSimulation/HyperTwistClassicCubeActor.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistSimulation/HyperTwistClassicCubeActor.cpp index 03e1bf5..21bbe3b 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistSimulation/HyperTwistClassicCubeActor.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistSimulation/HyperTwistClassicCubeActor.cpp @@ -125,8 +125,8 @@ void AHyperTwistClassicCubeActor::CreateCubeletFace(UProceduralMeshComponent* Me TArray Colors; TArray Tangents; - FVector Normal; - FVector TangentX; + FVector Normal = FVector::ZeroVector; + FVector TangentX = FVector::ZeroVector; TArray FaceVerts; switch (Face)