Skip to content

Commit

Permalink
rename ModelViewProjectionMatrixNode -> ModelViewProjectionNode
Browse files Browse the repository at this point in the history
  • Loading branch information
sunag committed Feb 11, 2021
1 parent e3940ae commit 8d4da02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import ModelNode from '../accessors/ModelNode.js';
import OperatorNode from '../math/OperatorNode.js';
import PositionNode from '../accessors/PositionNode.js';

class ModelViewProjectionMatrixNode extends Node {
class ModelViewProjectionNode extends Node {

constructor( position = new PositionNode() ) {

Expand All @@ -29,4 +29,4 @@ class ModelViewProjectionMatrixNode extends Node {

}

export default ModelViewProjectionMatrixNode;
export default ModelViewProjectionNode;
4 changes: 2 additions & 2 deletions examples/jsm/renderers/webgpu/nodes/WebGPUNodeBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { WebGPUSampledTexture } from '../WebGPUSampledTexture.js';

import NodeSlot from '../../nodes/core/NodeSlot.js';
import NodeBuilder from '../../nodes/core/NodeBuilder.js';
import ModelViewProjectionMatrixNode from '../../nodes/accessors/ModelViewProjectionMatrixNode.js';
import ModelViewProjectionNode from '../../nodes/accessors/ModelViewProjectionNode.js';

import ShaderLib from './ShaderLib.js';

Expand Down Expand Up @@ -41,7 +41,7 @@ class WebGPUNodeBuilder extends NodeBuilder {

if ( material.isMeshBasicMaterial || material.isPointsMaterial || material.isLineBasicMaterial ) {

const mvpNode = new ModelViewProjectionMatrixNode();
const mvpNode = new ModelViewProjectionNode();

if ( material.positionNode !== undefined ) {

Expand Down

0 comments on commit 8d4da02

Please sign in to comment.