equal
deleted
inserted
replaced
278 m3gTransformVec4(projMatrix, &x); |
278 m3gTransformVec4(projMatrix, &x); |
279 m3gTransformVec4(projMatrix, &y); |
279 m3gTransformVec4(projMatrix, &y); |
280 } |
280 } |
281 #ifndef M3G_USE_NGL_API |
281 #ifndef M3G_USE_NGL_API |
282 /* Store w after projection */ |
282 /* Store w after projection */ |
283 eyeSpace->w = ot.w; |
283 if (eyeSpace != NULL) { |
|
284 eyeSpace->w = ot.w; |
|
285 } |
284 #endif |
286 #endif |
285 m3gScaleVec4(&ot, m3gRcp(ot.w)); |
287 m3gScaleVec4(&ot, m3gRcp(ot.w)); |
286 m3gScaleVec4(&x, m3gRcp(x.w)); |
288 m3gScaleVec4(&x, m3gRcp(x.w)); |
287 m3gScaleVec4(&y, m3gRcp(y.w)); |
289 m3gScaleVec4(&y, m3gRcp(y.w)); |
288 |
290 |