Skip to content

Commit

Permalink
fix encoding issue with JK2 cg_effects.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Razish committed Feb 19, 2024
1 parent 0b92929 commit a65d029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codeJK2/cgame/cg_effects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ static void CG_CalcBiLerp( vec3_t verts[4], vec3_t subVerts[4], vec2_t uv[4] )
VectorMA( temp, uv[3][1], subVerts[3], subVerts[3] );
}
// bilinear
//f(p',q') = (1 - y) {[(1 - x) f(p,q)] + [x f(p,q+1)]} + y {[(1 - x) f(p+1,q)] + [x � f
//f(p',q') = (1 - y) × {[(1 - x) × f(p,q)] + [x × f(p,q+1)]} + y × {[(1 - x) × f(p+1,q)] + [x × f(p+1,q+1)]}.


static void CG_CalcHeightWidth( vec3_t verts[4], float *height, float *width )
Expand Down

0 comments on commit a65d029

Please sign in to comment.