generate method

dynamic generate([
  1. dynamic builder,
  2. dynamic output
])
override

Implementation

generate([builder, output]) {
  var position = this.position;

  var mvpMatrix = new OperatorNode(
      '*',
      new CameraNode(CameraNode.PROJECTION_MATRIX),
      new ModelNode(ModelNode.VIEW_MATRIX));
  var mvpNode = new OperatorNode('*', mvpMatrix, position);

  var _result = mvpNode.build(builder);

  return _result;
}