mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 23:11:38 +00:00
[simd] Set the homogeneous coord in the csvf test
The homogeneous coord was not being initialized and thus was picking up rubbish from the stack. This is why the test would succeed in some circumstances but fail in others.
This commit is contained in:
parent
22c67fc268
commit
c11a930436
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ main (int argc, const char **argv)
|
|||
|
||||
for (j = 0; j < 4; j++) {
|
||||
VectorSet (rnd (&mt), rnd (&mt), rnd (&mt), cloud[j]);
|
||||
cloud[j][3] = 1;
|
||||
}
|
||||
cc = CircumSphere_vf (cloud, 4);
|
||||
if (cc.radius < 0) {
|
||||
|
|
Loading…
Reference in a new issue