QJSValue THREEVector3::multiply(QJSValue threeVector3) {
    THREEVector3 *vec = getAsTHREEVector3(threeVector3);
    if (!vec) {
        qDebug() << "THREEVector3::" << __FUNCTION__ << " parameter was not THREEVector3 was " << threeVector3.toQObject();
        return m_engine->newQObject(this);
    }

    return m_engine->newQObject(_multiply(vec));
}
Beispiel #2
0
 polynomial::term& polynomial::term::multiply(polynomial::term::factor&& m)
 {
   return _multiply(*this, m);
 }