Fixes for decals and blaster weapon.

This commit is contained in:
Justin Marshall
2026-08-08 06:28:05 -07:00
parent b45d59f299
commit f229af93ec
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ bool rvElectricityParticle::Render( const rvBSE *effect, const idMat3 &view,
idVec3 position; idVec3 position;
EvaluatePosition( effect, position, time - mMotionStartTime ); EvaluatePosition( effect, position, time - mMotionStartTime );
if ( !GetLocked() ) { if ( !GetLocked() ) {
work.length *= mInitAxis * effect->GetCurrentAxis(); work.length *= mInitAxis * effect->GetCurrentAxis().Transpose();
} }
if ( GetGeneratedLine() ) { if ( GetGeneratedLine() ) {
idVec3 velocity; idVec3 velocity;
+2 -2
View File
@@ -206,7 +206,7 @@ bool rvLineParticle::Render( const rvBSE *effect, const idMat3 &view,
EvaluatePosition( effect, position, time - mMotionStartTime ); EvaluatePosition( effect, position, time - mMotionStartTime );
if ( !( mFlags & PTFLAG_LOCKED ) ) { if ( !( mFlags & PTFLAG_LOCKED ) ) {
length *= mInitAxis * effect->GetCurrentAxis(); length *= mInitAxis * effect->GetCurrentAxis().Transpose();
} }
if ( mFlags & PTFLAG_GENERATED_LINE ) { if ( mFlags & PTFLAG_GENERATED_LINE ) {
idVec3 velocity; idVec3 velocity;
@@ -323,7 +323,7 @@ bool rvModelParticle::Render( const rvBSE *effect, const idMat3 &view,
idMat3 transform; idMat3 transform;
rvAngles( rotation ).ToMat3( transform ); rvAngles( rotation ).ToMat3( transform );
if ( !( mFlags & PTFLAG_LOCKED ) ) { if ( !( mFlags & PTFLAG_LOCKED ) ) {
transform *= mInitAxis * effect->GetCurrentAxis(); transform *= mInitAxis * effect->GetCurrentAxis().Transpose();
} }
const modelSurface_t *surface = mModel->Surface( 0 ); const modelSurface_t *surface = mModel->Surface( 0 );