generate method
dynamic
generate([
- dynamic builder,
- dynamic output
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;
}