Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/jsm/objects/LensflareMesh.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class LensflareMesh extends Mesh {

renderer.getViewport( viewport );

viewport.multiplyScalar( window.devicePixelRatio );
viewport.multiplyScalar( renderer.getPixelRatio() ).floor();

const renderTarget = renderer.getRenderTarget();
const type = ( renderTarget !== null ) ? renderTarget.texture.type : UnsignedByteType;
Expand Down
2 changes: 1 addition & 1 deletion src/animation/KeyframeTrack.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as AnimationUtils from './AnimationUtils.js';
import { warn, error } from '../utils.js';

/**
* Represents s a timed sequence of keyframes, which are composed of lists of
* Represents a timed sequence of keyframes, which are composed of lists of
* times and related values, and which are used to animate a specific property
* of an object.
*/
Expand Down