mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-07-06 00:10:30 +08:00
Merge 9d79933730d7fdb5b582adc5c92484344b9f76a3 into 9c688d7ff78455ed42e345124d1495aad6bf66de
This commit is contained in:
commit
8708062e21
@ -512,14 +512,14 @@ namespace nv
|
|||||||
|
|
||||||
friend bool operator != (const matrix4 &lhs, const matrix4 &rhs)
|
friend bool operator != (const matrix4 &lhs, const matrix4 &rhs)
|
||||||
{
|
{
|
||||||
bool r = true;
|
|
||||||
|
|
||||||
for (int i = 0; i < 16; i++)
|
for (int i = 0; i < 16; i++)
|
||||||
{
|
{
|
||||||
r &= lhs._array[i] != rhs._array[i];
|
if (lhs._array[i] != rhs._array[i])
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return r;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
union
|
union
|
||||||
|
Loading…
x
Reference in New Issue
Block a user