From f6a750e4b326fe3069f3ca41d7eba483a4b97d9c Mon Sep 17 00:00:00 2001 From: Alexander 'z33ky' Hirsch <1zeeky@gmail.com> Date: Sun, 6 Jun 2021 15:52:35 +0200 Subject: [PATCH] Initialize all basis vectors for env_projectedtexture with target --- sp/src/game/client/c_env_projectedtexture.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sp/src/game/client/c_env_projectedtexture.cpp b/sp/src/game/client/c_env_projectedtexture.cpp index a74bb46e..7bd15a17 100644 --- a/sp/src/game/client/c_env_projectedtexture.cpp +++ b/sp/src/game/client/c_env_projectedtexture.cpp @@ -283,6 +283,8 @@ void C_EnvProjectedTexture::UpdateLight( void ) // VectorNormalize( vRight ); // VectorNormalize( vUp ); + + VectorVectors( vForward, vRight, vUp ); } } else