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

  return mat;
}
Exemplo n.º 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_)
{
}
Exemplo n.º 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_)
{
}
Exemplo n.º 4
0
WGLWidget::JavaScriptMatrix4x4::JavaScriptMatrix4x4(const WGLWidget::JavaScriptMatrix4x4 &other):
  jsRef_(other.jsRef())
{
}