static QScriptValue Capsule_MinimalEnclosingAABB_const(QScriptContext *context, QScriptEngine *engine) { if (context->argumentCount() != 0) { printf("Error! Invalid number of arguments passed to function Capsule_MinimalEnclosingAABB_const in file %s, line %d!\nExpected 0, but got %d!\n", __FILE__, __LINE__, context->argumentCount()); PrintCallStack(context->backtrace()); return QScriptValue(); } Capsule This = qscriptvalue_cast<Capsule>(context->thisObject()); AABB ret = This.MinimalEnclosingAABB(); return qScriptValueFromValue(engine, ret); }
bool AABB::Contains(const Capsule &capsule) const { return Contains(capsule.MinimalEnclosingAABB()); }