Exemple #1
0
WGLWidget::JavaScriptMatrix4x4 WGLWidget::createJavaScriptMatrix4()
{
  WGLWidget::JavaScriptMatrix4x4 mat = pImpl_->createJavaScriptMatrix4();
  jsMatrixList_.push_back(jsMatrixMap(mat.id(), WMatrix4x4()));

  return mat;
}
Exemple #2
0
WGLWidget::JavaScriptMatrix4x4::JavaScriptMatrix4x4(const WGLWidget::JavaScriptMatrix4x4 &other)
  : id_(other.id()),
    jsRef_(other.jsRef()),
    context_(other.context_),
    operations_(other.operations_),
    matrices_(other.matrices_),
    initialized_(other.initialized_)
{
}
Exemple #3
0
WGLWidget::JavaScriptMatrix4x4::JavaScriptMatrix4x4(const WGLWidget::JavaScriptMatrix4x4 &other)
  : id_(other.id()),
    jsRef_(other.jsRef()),
    context_(other.context_),
    arrayType_(other.arrayType_),
    operations_(other.operations_),
    matrices_(other.matrices_)
{
}