C++ (Qt)QList<QVector3D> Menu::calcNewVector3D(const QList<QVector3D> &list){ return list.toSet().toList();}
C++ (Qt)QVector3D vec; QSet<QVector3D> set;set.insert(vec);
C++ (Qt)uint qHash(const QVector3D &val){ qreal x = val.x(); qreal y = val.y(); qreal z = val.z(); QString temp = QString("%0%1%2").arg(x, 0).arg(y).arg(x).arg(z); return ::qHash(temp);}
C++ (Qt)while(!asleep()) sheep++;
uint qHash(const QVector3D &val){ qreal x = val.x(); qreal y = val.y(); qreal z = val.z(); return ::qHash(uint(x)) ^ ::qHash(uint(y)) ^ ::qHash(uint(z));}
C++ (Qt)uint qHash(const QVector3D &val){ float f[3] = { val.x(), val.y(), val.z() }; uint32 * dummy = (uint32 *) f; return dummy[0] ^ dummy[1] ^ dummy[2];}