mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-20 07:52:23 +08:00
Merge 9d79933730
into 9c688d7ff7
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…
Reference in New Issue
Block a user