language stringclasses 1
value | owner stringlengths 2 15 | repo stringlengths 2 21 | sha stringlengths 45 45 | message stringlengths 7 36.3k | path stringlengths 1 199 | patch stringlengths 15 102k | is_multipart bool 2
classes |
|---|---|---|---|---|---|---|---|
Other | mrdoob | three.js | 666923ebb40cf9c32cdb806203ce90f8484d745f.json | Update ColorKeyframeTrack inheritance | src/animation/tracks/ColorKeyframeTrack.js | @@ -1,5 +1,4 @@
-import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
-import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';
+import { KeyframeTrack } from '../KeyframeTrack.js';
/**
*
@@ -13,11 +12,11 @@ import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.j... | false |
Other | mrdoob | three.js | 5bceba4cf6026194f3118962d484d348d3a5f75b.json | Update BooleanKeyframeTrack inheritance | src/animation/tracks/BooleanKeyframeTrack.js | @@ -1,6 +1,5 @@
import { InterpolateDiscrete } from '../../constants.js';
-import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
-import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';
+import { KeyframeTrack } from '../KeyframeTrack.js';
/**
*
@@ -14,11 +13,11 @@ import { Key... | false |
Other | mrdoob | three.js | 2d2987ffd9b49433c8a756f37328cd4bc69ced58.json | Update error messages | src/animation/KeyframeTrack.js | @@ -26,13 +26,8 @@ import { AnimationUtils } from './AnimationUtils.js';
function KeyframeTrack( name, times, values, interpolation ) {
- if ( name === undefined ) throw new Error( 'track name is undefined' );
-
- if ( times === undefined || times.length === 0 ) {
-
- throw new Error( 'no keyframes in track named... | false |
Other | mrdoob | three.js | 620126d96e572b997e15a8ac6259ef86a7ad5dac.json | Update CanvasRenderer documentation | docs/examples/renderers/CanvasRenderer.html | @@ -55,7 +55,13 @@ <h3>[name]([page:object parameters])</h3>
<div>parameters is an optional object with properties defining the renderer's behaviour. The constructor also accepts no parameters at all. In all cases, it will assume sane defaults when parameters are missing.</div>
<div>
- canvas — A [page:C... | false |
Other | mrdoob | three.js | e5464b9dff8495d2968bace065c2603bbe02e54a.json | Fix doc typo | docs/api/math/Box3.html | @@ -47,7 +47,7 @@ <h3>[property:Vector3 min]</h3>
<h3>[property:Vector3 max]</h3>
<div>
- [page:Vector3] representing the lower upper (x, y, z) boundary of the box.<br />
+ [page:Vector3] representing the upper (x, y, z) boundary of the box.<br />
Default is ( - Infinity, - Infinity, - Infinity ).
</... | false |
Other | mrdoob | three.js | 6f5c72e9ecf6507bff3dff43e9d50b2134fcebb5.json | Keep variable names for skinIndex and nodeIndex | examples/js/loaders/GLTFLoader.js | @@ -2242,13 +2242,13 @@ THREE.GLTFLoader = ( function () {
// Nothing in the node definition indicates whether it is a Bone or an
// Object3D. Use the skins' joint references to mark bones.
- for ( var i = 0; i < skins.length; i ++ ) {
+ for ( var skinIndex = 0; skinIndex < skins.length; skinIndex ++ ) {
... | false |
Other | mrdoob | three.js | 32955b5cc13cdd1aef074dbade9139e908136b6b.json | remove unused uniform | examples/js/objects/Water.js | @@ -75,7 +75,6 @@ THREE.Water = function ( width, height, options ) {
time: { value: 0.0 },
size: { value: 1.0 },
distortionScale: { value: 20.0 },
- noiseScale: { value: 1.0 },
textureMatrix: { value: new THREE.Matrix4() },
sunColor: { value: new THREE.Color( 0x7F7F7F ) },
sunDirection... | false |
Other | mrdoob | three.js | a58d17160946f360644788681819a899aeeebf83.json | Add FXAA 3.11 antialiasing | examples/js/shaders/FXAAShader.js | @@ -19,70 +19,1097 @@ THREE.FXAAShader = {
vertexShader: [
+ "varying vec2 vUv;",
+
"void main() {",
+ "vUv = uv;",
"gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );",
"}"
].join( "\n" ),
fragmentShader: [
-
- "uniform sampler2D tDiffuse;",
- "uniform vec2 resol... | false |
Other | mrdoob | three.js | 1b4a6e76cac28743bd3d766f12bc9d594edf5f31.json | Consider opacity when alpha testing | src/renderers/webgl/WebGLSpriteRenderer.js | @@ -315,10 +315,10 @@ function WebGLSpriteRenderer( renderer, gl, state, textures, capabilities ) {
'vec4 texture = texture2D( map, vUV );',
- 'if ( texture.a < alphaTest ) discard;',
-
'gl_FragColor = vec4( color * texture.xyz, texture.a * opacity );',
+ 'if ( gl_FragColor.a < alphaTest ) discard... | false |
Other | mrdoob | three.js | 98b2c3db94c5a648791b9a16b58bbaff55780201.json | Use actual depth in fog formula | src/renderers/webgl/WebGLSpriteRenderer.js | @@ -69,6 +69,7 @@ function WebGLSpriteRenderer( renderer, gl, state, textures, capabilities ) {
fogNear: gl.getUniformLocation( program, 'fogNear' ),
fogFar: gl.getUniformLocation( program, 'fogFar' ),
fogColor: gl.getUniformLocation( program, 'fogColor' ),
+ fogDepth: gl.getUniformLocation( prog... | false |
Other | mrdoob | three.js | 8a7b34d332be351320bf7b63cae62ed7635f8da8.json | fix more indentation | examples/js/loaders/FBXLoader.js | @@ -1412,7 +1412,7 @@
}
-// create the main THREE.Group() to be returned by the loader
+ // create the main THREE.Group() to be returned by the loader
function parseScene( FBXTree, connections, deformers, geometryMap, materialMap ) {
var sceneGraph = new THREE.Group();
@@ -1462,7 +1462,7 @@
}
- // ... | false |
Other | mrdoob | three.js | a8991900b5c9045c54e5fbd4ad10480af18abc8c.json | fix comment indentation | examples/js/loaders/FBXLoader.js | @@ -1804,6 +1804,7 @@
materials[ materialsIndex ].skinning = true;
}
+
model = new THREE.SkinnedMesh( geometry, material );
} else {
@@ -1832,13 +1833,13 @@
}
- // FBX does not list materials for Nurbs lines, so we'll just put our own in here.
+ // FBX does not list materials for Nurbs li... | false |
Other | mrdoob | three.js | f35e905ba8ebe453053614c0790f8c742f36497d.json | Fix typo and comma splice | docs/examples/loaders/OBJLoader.html | @@ -13,7 +13,7 @@ <h1>[name]</h1>
<div class="desc">A loader for loading a <em>.obj</em> resource.<br />
The <a href="https://en.wikipedia.org/wiki/Wavefront_.obj_file">OBJ file format</a> is a simple data-format
- that represents 3D geometry in a human redeable format as, the position of each vertex, the UV ... | false |
Other | mrdoob | three.js | 862d444dbe8dbad342bf4bef5eddb1be9fbe6577.json | use consistent language: hex => color | docs/api/scenes/FogExp2.html | @@ -16,9 +16,9 @@ <h1>[name]</h1>
<h2>Constructor</h2>
- <h3>[name]( [page:Integer hex], [page:Float density] )</h3>
+ <h3>[name]( [page:Integer color], [page:Float density] )</h3>
- <div>The hex parameter is passed to the [page:Color] constructor to set the color property. Hex can be a hexadecimal integer... | false |
Other | mrdoob | three.js | 1336b57712a7636b55366f508403e41b00a80089.json | use consistent language: hex => color | docs/api/scenes/Fog.html | @@ -1,50 +1,50 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
+<!DOCTYPE html>
+<html lang="en">
+ <head>
<meta charset="utf-8" />
- <base href="../../" />
- <script src="list.js"></script>
- <script src="page.js"></script>
- <link type="text/css" rel="stylesheet" href="page.css" />
- </head>
- <body>
- <h1... | false |
Other | mrdoob | three.js | 8d6fe7198c65d675ec37341e1c37950a1e320eb3.json | remove duplicate text: domElement | docs/api/renderers/WebGLRenderer.html | @@ -129,7 +129,7 @@ <h3>[property:Array clippingPlanes]</h3>
<h3>[property:WebGLRenderingContext context]</h3>
<div>
The renderer obtains a [link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext RenderingContext] context
- from its [page:WebGLRenderer.domElement domElement][page:WebGLR... | false |
Other | mrdoob | three.js | ea7e9a787878483ded7ba499edee7344e3a00b16.json | Specify default values | docs/api/geometries/BoxBufferGeometry.html | @@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <meta charset="utf-8" />
+ <meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
@@ -44,9 +44,9 @@ <h2>Constructor</h2>
<h3>[name]([page:Float width], [page:Float height], [page:Float... | true |
Other | mrdoob | three.js | ea7e9a787878483ded7ba499edee7344e3a00b16.json | Specify default values | docs/api/geometries/BoxGeometry.html | @@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <meta charset="utf-8" />
+ <meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
@@ -44,9 +44,9 @@ <h2>Constructor</h2>
<h3>[name]([page:Float width], [page:Float height], [page:Float... | true |
Other | mrdoob | three.js | ea7e9a787878483ded7ba499edee7344e3a00b16.json | Specify default values | docs/api/geometries/PlaneBufferGeometry.html | @@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <meta charset="utf-8" />
+ <meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
@@ -44,8 +44,8 @@ <h2>Constructor</h2>
<h3>[name]([page:Float width], [page:Float height], [page:Integ... | true |
Other | mrdoob | three.js | ea7e9a787878483ded7ba499edee7344e3a00b16.json | Specify default values | docs/api/geometries/PlaneGeometry.html | @@ -15,22 +15,22 @@ <h1>[name]</h1>
<div class="desc">A class for generating plane geometries</div>
<iframe id="scene" src="scenes/geometry-browser.html#PlaneGeometry"></iframe>
-
- <script>
-
- // iOS iframe auto-resize workaround
-
- if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
-
- var s... | true |
Other | mrdoob | three.js | ea7e9a787878483ded7ba499edee7344e3a00b16.json | Specify default values | src/geometries/BoxGeometry.js | @@ -52,6 +52,10 @@ function BoxBufferGeometry( width, height, depth, widthSegments, heightSegments,
var scope = this;
+ width = width || 1;
+ height = height || 1;
+ depth = depth || 1;
+
// segments
widthSegments = Math.floor( widthSegments ) || 1; | true |
Other | mrdoob | three.js | ea7e9a787878483ded7ba499edee7344e3a00b16.json | Specify default values | src/geometries/PlaneGeometry.js | @@ -45,6 +45,9 @@ function PlaneBufferGeometry( width, height, widthSegments, heightSegments ) {
heightSegments: heightSegments
};
+ width = width || 1;
+ height = height || 1;
+
var width_half = width / 2;
var height_half = height / 2;
| true |
Other | mrdoob | three.js | a8decb519e678ee216709d97845ae8364f53ab0f.json | Add missing words | docs/api/core/Geometry.html | @@ -300,19 +300,19 @@ <h3>[method:null normalize]()</h3>
<h3>[method:Geometry rotateX] ( [page:Float radians] )</h3>
<div>
Rotate the geometry about the X axis. This is typically done as a one time operation but not during the render loop.<br>
- [page:Object3D.rotation] for typical real-time mesh rotation.
+ ... | false |
Other | mrdoob | three.js | 4e2ead55f8699af5f9bf72f89312af01194dc79e.json | Add missing geometries to ObjectLoader | src/loaders/ObjectLoader.js | @@ -254,9 +254,13 @@ Object.assign( ObjectLoader.prototype, {
break;
case 'DodecahedronGeometry':
+ case 'DodecahedronBufferGeometry':
case 'IcosahedronGeometry':
+ case 'IcosahedronBufferGeometry':
case 'OctahedronGeometry':
+ case 'OctahedronBufferGeometry':
case 'Tetrahed... | false |
Other | mrdoob | three.js | ba5f094e64af26fe547db2e41c478f96b5cc4ca1.json | Remove renderer from GLTFExporter example | examples/misc_exporter_gltf.html | @@ -39,7 +39,7 @@
function exportGLTF( input ) {
- var gltfExporter = new THREE.GLTFExporter( renderer );
+ var gltfExporter = new THREE.GLTFExporter();
gltfExporter.parse( input, function( result ) {
| false |
Other | mrdoob | three.js | 95114947175b47a843d6072c3dc149bcc4eceae6.json | Fix THREE_TO_WEBGL conversion | examples/js/exporters/GLTFExporter.js | @@ -7,12 +7,12 @@
//------------------------------------------------------------------------------
var WEBGL_CONSTANTS = {
POINTS: 0x0000,
- LINES: 0x0001,
- LINE_LOOP: 0x0002,
- LINE_STRIP: 0x0003,
- TRIANGLES: 0x0004,
- TRIANGLE_STRIP: 0x0005,
- TRIANGLE_FAN: 0x0006,
+ LINES: 0x0001,
+ LINE_LOOP: 0x0002,
+... | false |
Other | mrdoob | three.js | 6bf789c618fa7fc67b34419496135ff2d14718e4.json | Check asset existence to detect glTF version | examples/js/loaders/GLTF2Loader.js | @@ -79,7 +79,7 @@ THREE.GLTF2Loader = ( function () {
var json = JSON.parse( content );
- if ( json.asset.version[0] < 2 ) {
+ if ( json.asset === undefined || json.asset.version[ 0 ] < 2 ) {
onError( new Error( 'THREE.GLTF2Loader: Legacy glTF detected. Use THREE.GLTFLoader instead.' ) );
return... | false |
Other | mrdoob | three.js | ee06d68b7b6b5f6b3af01f654bd4aa4a205c23cb.json | Modify export options in example | examples/js/exporters/GLTFExporter.js | @@ -805,55 +805,49 @@ THREE.GLTFExporter.prototype = {
function processObjects ( objects ) {
var scene = new THREE.Scene();
+ scene.name = 'AuxScene';
for ( var i = 0; i < objects.length; i++ ) {
- scene.add( objects[ i ] );
+ // We push directly to children instead of calling `add` to prevent
... | true |
Other | mrdoob | three.js | ee06d68b7b6b5f6b3af01f654bd4aa4a205c23cb.json | Modify export options in example | examples/webgl_exporter_gltf2.html | @@ -12,6 +12,7 @@
overflow: hidden;
}
#info {
+ color: #ccc;
text-align: center;
position: absolute;
top: 0px; width: 100%;
@@ -21,7 +22,12 @@
</head>
<body>
<div id="info">
- <button id="export">Export scene to .GLTF</button>
+ GLTF2 Exporter<br/>
+ <button id="export_scene"... | true |
Other | mrdoob | three.js | 4071a40c39f31bbf24f19ea6dfd1f9e1b27c5ddd.json | Reduce ambient light. Add export button | examples/gltf_exporter.html | @@ -11,46 +11,63 @@
margin: 0px;
overflow: hidden;
}
+ #info {
+ text-align: center;
+ position: absolute;
+ top: 0px; width: 100%;
+ padding: 5px;
+ }
</style>
</head>
<body>
+ <div id="info">
+ <button id="export">Export scene to .GLTF</button>
+ </div>
<script src="../bu... | false |
Other | mrdoob | three.js | b788d8d73a2891aac08d52a27cd4d54abcaef837.json | pass vector to LookAt function | examples/js/loaders/FBXLoader.js | @@ -1780,7 +1780,7 @@
} else { // Cameras and other Object3Ds
- model.lookAt( pos[ 0 ], pos[ 1 ], pos[ 2 ] );
+ model.lookAt( new THREE.Vector3( pos[ 0 ], pos[ 1 ], pos[ 2 ] ) );
}
| false |
Other | mrdoob | three.js | 5b8bc69b1f858fa409f0be3312d641b5a3f3e4ec.json | Fix broken tags in docs | docs/api/math/Frustum.html | @@ -98,7 +98,7 @@ <h3>[method:Frustum setFromMatrix]( [page:Matrix4 matrix] )</h3>
<div>
[page:Matrix4 matrix] - [page:Matrix4] used to set the [page:.planes planes]<br /><br />
- This is used by the [page:WebGLRenderer] to set up the Frustum from a [page:Camera Camera's]
+ This is used by the [page:WebGLR... | true |
Other | mrdoob | three.js | 5b8bc69b1f858fa409f0be3312d641b5a3f3e4ec.json | Fix broken tags in docs | docs/api/math/Vector4.html | @@ -231,13 +231,13 @@ <h3>[method:Vector4 normalize]()</h3>
<h3>[method:Vector4 max]( [page:Vector4 v] )</h3>
<div>
- If this vector's x, y, z or w value is less than [page:Vector4 v's] x, y, z or w value, replace
+ If this vector's x, y, z or w value is less than [page:Vector4 v]'s x, y, z or w value, replac... | true |
Other | mrdoob | three.js | 751b7b10dbb329fc9dfe8b8cfcfc141d7fe41d78.json | Restore previous light position | examples/webgl_animation_cloth.html | @@ -109,7 +109,7 @@
scene.add( new THREE.AmbientLight( 0x666666 ) );
light = new THREE.DirectionalLight( 0xdfebff, 1 );
- light.position.set( -50, 200, -100 );
+ light.position.set( 50, 200, 100 );
light.position.multiplyScalar( 1.3 );
light.castShadow = true; | false |
Other | mrdoob | three.js | 7cd6aa37612f71340bf70fd16d7c1a53c33d81d2.json | Fix typo in Box3.html
"x, y and z" not "x and y" | docs/api/math/Box3.html | @@ -244,7 +244,7 @@ <h3>[method:Box3 setFromBufferAttribute]( [page:BufferAttribute attribute] ) [pa
<h3>[method:Box3 setFromCenterAndSize]( [page:Vector3 center], [page:Vector3 size] )</h3>
<div>
[page:Vector3 center] - Desired center position of the box ([page:Vector3]). <br>
- [page:Vector3 size] - Desired... | false |
Other | mrdoob | three.js | 134c6db6977a9218c1ff96d634412ece7529d5e2.json | fix previous commit | examples/js/loaders/FBXLoader.js | @@ -2046,9 +2046,7 @@
var poseNode = BindPoseNode[ nodeID ].subNodes.PoseNode;
var rawMatWrd = new THREE.Matrix4().fromArray( poseNode.subNodes.Matrix.properties.a );
- worldMatrices.set( parseInt( poseNode.properties.Node ), rawMatWrd )
-
-
+ worldMatrices.set( parseInt( poseNode.properties.Node ... | false |
Other | mrdoob | three.js | ec2a091f937a9b95c1812ca81187b9dc41e2a766.json | Simplify animation system | examples/js/loaders/FBXLoader.js | @@ -2144,68 +2144,90 @@
}
- // Parses animation information from nodes in
- // FBXTree.Objects.subNodes.AnimationCurve: child of an AnimationCurveNode, holds the raw animation data (e.g. x axis rotation )
- // FBXTree.Objects.subNodes.AnimationCurveNode: child of an AnimationLayer and connected to whichever node ... | false |
Other | mrdoob | three.js | 280b37729d3ed57050ff330944cc2b9501018af0.json | Apply negative scale to geometry instead of mesh | examples/canvas_geometry_panorama.html | @@ -81,8 +81,10 @@
];
- mesh = new THREE.Mesh( new THREE.BoxGeometry( 300, 300, 300, 7, 7, 7 ), materials );
- mesh.scale.x = - 1;
+ var geometry = new THREE.BoxGeometry( 300, 300, 300, 7, 7, 7 );
+ geometry.scale( - 1, 1, 1 );
+
+ mesh = new THREE.Mesh( geometry, materials );
scene.add( me... | true |
Other | mrdoob | three.js | 280b37729d3ed57050ff330944cc2b9501018af0.json | Apply negative scale to geometry instead of mesh | examples/canvas_geometry_panorama_fisheye.html | @@ -81,8 +81,10 @@
];
- mesh = new THREE.Mesh( new THREE.BoxGeometry( 300, 300, 300, 7, 7, 7 ), materials );
- mesh.scale.x = - 1;
+ var geometry = new THREE.BoxGeometry( 300, 300, 300, 7, 7, 7 );
+ geometry.scale( - 1, 1, 1 );
+
+ mesh = new THREE.Mesh( geometry, materials );
scene.add( me... | true |
Other | mrdoob | three.js | 280b37729d3ed57050ff330944cc2b9501018af0.json | Apply negative scale to geometry instead of mesh | examples/webgl_materials_cubemap_dynamic2.html | @@ -61,7 +61,7 @@
scene = new THREE.Scene();
var mesh = new THREE.Mesh( new THREE.SphereBufferGeometry( 500, 32, 16 ), new THREE.MeshBasicMaterial( { map: texture } ) );
- mesh.scale.x = -1;
+ mesh.geometry.scale( - 1, 1, 1 );
scene.add( mesh );
renderer = new THREE.WebGLRenderer( { antial... | true |
Other | mrdoob | three.js | 106b374183e884e15c94a84c7617c668ce427d7c.json | Add missing isGroup property to Group | src/objects/Group.js | @@ -14,7 +14,9 @@ function Group() {
Group.prototype = Object.assign( Object.create( Object3D.prototype ), {
- constructor: Group
+ constructor: Group,
+
+ isGroup: true
} );
| false |
Other | mrdoob | three.js | feee8a9c023f645878c7a9ad01c6024a55b84b46.json | remove unused variable in AWDLoader | examples/js/loaders/AWDLoader.js | @@ -692,15 +692,12 @@
num_subs = this.readU16(),
geom,
subs_parsed = 0,
- props,
buffer,
skinW, skinI,
geometries = [];
-
- props = this.parseProperties( {
- 1: this._geoNrType,
- 2: this._geoNrType
- } );
+
+ // Ignore for now
+ this.parseProperties( { 1: this._geoNrT... | false |
Other | mrdoob | three.js | 3d7b8cde3c70bbe871a9d1ce7bb0718db557e98f.json | fix a typo | docs/manual/buildTools/Testing-with-NPM.html | @@ -144,7 +144,7 @@ <h2>Add three.js</h2>
<li>
Mocha will look for tests in test/, so let's
<code>
- $ mkdir test.
+ $ mkdir test
</code>
</li>
| false |
Other | mrdoob | three.js | 0745c92187cecd9454043cf80ec2f484febef47f.json | fix a typo | docs/manual/buildTools/Testing-with-NPM.html | @@ -106,7 +106,7 @@ <h2>Add mocha</h2>
<li>
Rerun the test with
<code>
- $ npm test.
+ $ npm test
</code>
This should now succeed, reporting 0 passing (1ms) | false |
Other | mrdoob | three.js | 60d1be3ff0d14d233ba60f4fdbf2d95b663c18cd.json | fix a typo | docs/manual/introduction/Import-via-modules.html | @@ -65,7 +65,7 @@ <h2>Importing the module</h2>
<h2>Caveats</h2>
<div>
- Currently it's not possible to import the files within the "examples/js" directroy in this way.
+ Currently it's not possible to import the files within the "examples/js" directory in this way.
This is due to some of the files rely... | false |
Other | mrdoob | three.js | 53072cb1e57f1b4f1ba6b5466e8ac45d30a2cca9.json | Add file extensions to legacy import paths | src/Three.Legacy.js | @@ -20,12 +20,12 @@ import {
} from './core/BufferAttribute.js';
import { BufferGeometry } from './core/BufferGeometry.js';
import { Face3 } from './core/Face3.js';
-import { Geometry } from './core/Geometry';
+import { Geometry } from './core/Geometry.js';
import { Object3D } from './core/Object3D.js';
-import { U... | false |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/animation/AnimationAction.js | @@ -1,4 +1,4 @@
-import { WrapAroundEnding, ZeroCurvatureEnding, ZeroSlopeEnding, LoopPingPong, LoopOnce, LoopRepeat } from '../constants';
+import { WrapAroundEnding, ZeroCurvatureEnding, ZeroSlopeEnding, LoopPingPong, LoopOnce, LoopRepeat } from '../constants.js';
/**
* | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/animation/AnimationClip.js | @@ -1,9 +1,9 @@
-import { VectorKeyframeTrack } from './tracks/VectorKeyframeTrack';
-import { QuaternionKeyframeTrack } from './tracks/QuaternionKeyframeTrack';
-import { NumberKeyframeTrack } from './tracks/NumberKeyframeTrack';
-import { AnimationUtils } from './AnimationUtils';
-import { KeyframeTrack } from './Key... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/animation/AnimationMixer.js | @@ -1,9 +1,9 @@
-import { AnimationAction } from './AnimationAction';
-import { EventDispatcher } from '../core/EventDispatcher';
-import { LinearInterpolant } from '../math/interpolants/LinearInterpolant';
-import { PropertyBinding } from './PropertyBinding';
-import { PropertyMixer } from './PropertyMixer';
-import {... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/animation/AnimationObjectGroup.js | @@ -1,5 +1,5 @@
-import { PropertyBinding } from './PropertyBinding';
-import { _Math } from '../math/Math';
+import { PropertyBinding } from './PropertyBinding.js';
+import { _Math } from '../math/Math.js';
/**
* | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/animation/KeyframeTrack.js | @@ -1,12 +1,12 @@
-import { KeyframeTrackPrototype } from './KeyframeTrackPrototype';
-import { StringKeyframeTrack } from './tracks/StringKeyframeTrack';
-import { BooleanKeyframeTrack } from './tracks/BooleanKeyframeTrack';
-import { QuaternionKeyframeTrack } from './tracks/QuaternionKeyframeTrack';
-import { ColorKe... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/animation/KeyframeTrackConstructor.js | @@ -1,4 +1,4 @@
-import { AnimationUtils } from './AnimationUtils';
+import { AnimationUtils } from './AnimationUtils.js';
function KeyframeTrackConstructor( name, times, values, interpolation ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/animation/KeyframeTrackPrototype.js | @@ -1,9 +1,9 @@
-import { InterpolateLinear } from '../constants';
-import { AnimationUtils } from './AnimationUtils';
-import { InterpolateSmooth, InterpolateDiscrete } from '../constants';
-import { CubicInterpolant } from '../math/interpolants/CubicInterpolant';
-import { LinearInterpolant } from '../math/interpolan... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/animation/PropertyMixer.js | @@ -1,4 +1,4 @@
-import { Quaternion } from '../math/Quaternion';
+import { Quaternion } from '../math/Quaternion.js';
/**
* | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/animation/tracks/BooleanKeyframeTrack.js | @@ -1,6 +1,6 @@
-import { InterpolateDiscrete } from '../../constants';
-import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype';
-import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
+import { InterpolateDiscrete } from '../../constants.js';
+import { KeyframeTrackPrototype } from '../Key... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/animation/tracks/ColorKeyframeTrack.js | @@ -1,5 +1,5 @@
-import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype';
-import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
+import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
+import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';
/**
* | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/animation/tracks/NumberKeyframeTrack.js | @@ -1,5 +1,5 @@
-import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype';
-import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
+import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
+import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';
/**
* | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/animation/tracks/QuaternionKeyframeTrack.js | @@ -1,7 +1,7 @@
-import { InterpolateLinear } from '../../constants';
-import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype';
-import { QuaternionLinearInterpolant } from '../../math/interpolants/QuaternionLinearInterpolant';
-import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
+import ... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/animation/tracks/StringKeyframeTrack.js | @@ -1,6 +1,6 @@
-import { InterpolateDiscrete } from '../../constants';
-import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype';
-import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
+import { InterpolateDiscrete } from '../../constants.js';
+import { KeyframeTrackPrototype } from '../Key... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/animation/tracks/VectorKeyframeTrack.js | @@ -1,5 +1,5 @@
-import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype';
-import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
+import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
+import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';
/**
* | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/audio/Audio.js | @@ -3,7 +3,7 @@
* @author Reece Aaron Lecrivain / http://reecenotes.com/
*/
-import { Object3D } from '../core/Object3D';
+import { Object3D } from '../core/Object3D.js';
function Audio( listener ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/audio/AudioListener.js | @@ -2,10 +2,10 @@
* @author mrdoob / http://mrdoob.com/
*/
-import { Vector3 } from '../math/Vector3';
-import { Quaternion } from '../math/Quaternion';
-import { Object3D } from '../core/Object3D';
-import { AudioContext } from './AudioContext';
+import { Vector3 } from '../math/Vector3.js';
+import { Quaternion... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/audio/PositionalAudio.js | @@ -2,9 +2,9 @@
* @author mrdoob / http://mrdoob.com/
*/
-import { Vector3 } from '../math/Vector3';
-import { Audio } from './Audio';
-import { Object3D } from '../core/Object3D';
+import { Vector3 } from '../math/Vector3.js';
+import { Audio } from './Audio.js';
+import { Object3D } from '../core/Object3D.js';
... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/cameras/ArrayCamera.js | @@ -2,7 +2,7 @@
* @author mrdoob / http://mrdoob.com/
*/
-import { PerspectiveCamera } from './PerspectiveCamera';
+import { PerspectiveCamera } from './PerspectiveCamera.js';
function ArrayCamera( array ) {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/cameras/Camera.js | @@ -4,10 +4,10 @@
* @author WestLangley / http://github.com/WestLangley
*/
-import { Matrix4 } from '../math/Matrix4';
-import { Quaternion } from '../math/Quaternion';
-import { Object3D } from '../core/Object3D';
-import { Vector3 } from '../math/Vector3';
+import { Matrix4 } from '../math/Matrix4.js';
+import {... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/cameras/CubeCamera.js | @@ -1,8 +1,8 @@
-import { Object3D } from '../core/Object3D';
-import { WebGLRenderTargetCube } from '../renderers/WebGLRenderTargetCube';
-import { LinearFilter, RGBFormat } from '../constants';
-import { Vector3 } from '../math/Vector3';
-import { PerspectiveCamera } from './PerspectiveCamera';
+import { Object3D } f... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/cameras/OrthographicCamera.js | @@ -1,5 +1,5 @@
-import { Camera } from './Camera';
-import { Object3D } from '../core/Object3D';
+import { Camera } from './Camera.js';
+import { Object3D } from '../core/Object3D.js';
/**
* @author alteredq / http://alteredqualia.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/cameras/PerspectiveCamera.js | @@ -1,6 +1,6 @@
-import { Camera } from './Camera';
-import { Object3D } from '../core/Object3D';
-import { _Math } from '../math/Math';
+import { Camera } from './Camera.js';
+import { Object3D } from '../core/Object3D.js';
+import { _Math } from '../math/Math.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/cameras/StereoCamera.js | @@ -1,6 +1,6 @@
-import { Matrix4 } from '../math/Matrix4';
-import { _Math } from '../math/Math';
-import { PerspectiveCamera } from './PerspectiveCamera';
+import { Matrix4 } from '../math/Matrix4.js';
+import { _Math } from '../math/Math.js';
+import { PerspectiveCamera } from './PerspectiveCamera.js';
/**
* @a... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/core/BufferAttribute.js | @@ -1,8 +1,8 @@
-import { Vector4 } from '../math/Vector4';
-import { Vector3 } from '../math/Vector3';
-import { Vector2 } from '../math/Vector2';
-import { Color } from '../math/Color';
-import { _Math } from '../math/Math';
+import { Vector4 } from '../math/Vector4.js';
+import { Vector3 } from '../math/Vector3.js';... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/core/BufferGeometry.js | @@ -1,15 +1,15 @@
-import { Vector3 } from '../math/Vector3';
-import { Box3 } from '../math/Box3';
-import { EventDispatcher } from './EventDispatcher';
-import { BufferAttribute, Float32BufferAttribute, Uint16BufferAttribute, Uint32BufferAttribute } from './BufferAttribute';
-import { Sphere } from '../math/Sphere';
... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/core/DirectGeometry.js | @@ -2,7 +2,7 @@
* @author mrdoob / http://mrdoob.com/
*/
-import { Vector2 } from '../math/Vector2';
+import { Vector2 } from '../math/Vector2.js';
function DirectGeometry() {
| true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/core/Face3.js | @@ -1,5 +1,5 @@
-import { Color } from '../math/Color';
-import { Vector3 } from '../math/Vector3';
+import { Color } from '../math/Color.js';
+import { Vector3 } from '../math/Vector3.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/core/Geometry.js | @@ -1,14 +1,14 @@
-import { EventDispatcher } from './EventDispatcher';
-import { Face3 } from './Face3';
-import { Matrix3 } from '../math/Matrix3';
-import { Sphere } from '../math/Sphere';
-import { Box3 } from '../math/Box3';
-import { Vector3 } from '../math/Vector3';
-import { Matrix4 } from '../math/Matrix4';
-i... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/core/InstancedBufferAttribute.js | @@ -1,4 +1,4 @@
-import { BufferAttribute } from './BufferAttribute';
+import { BufferAttribute } from './BufferAttribute.js';
/**
* @author benaadams / https://twitter.com/ben_a_adams | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/core/InstancedBufferGeometry.js | @@ -1,4 +1,4 @@
-import { BufferGeometry } from './BufferGeometry';
+import { BufferGeometry } from './BufferGeometry.js';
/**
* @author benaadams / https://twitter.com/ben_a_adams | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/core/InstancedInterleavedBuffer.js | @@ -1,4 +1,4 @@
-import { InterleavedBuffer } from './InterleavedBuffer';
+import { InterleavedBuffer } from './InterleavedBuffer.js';
/**
* @author benaadams / https://twitter.com/ben_a_adams | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/core/InterleavedBuffer.js | @@ -1,4 +1,4 @@
-import { _Math } from '../math/Math';
+import { _Math } from '../math/Math.js';
/**
* @author benaadams / https://twitter.com/ben_a_adams | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/core/InterleavedBufferAttribute.js | @@ -1,4 +1,4 @@
-import { _Math } from '../math/Math';
+import { _Math } from '../math/Math.js';
/**
* @author benaadams / https://twitter.com/ben_a_adams | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/core/Object3D.js | @@ -1,11 +1,11 @@
-import { Quaternion } from '../math/Quaternion';
-import { Vector3 } from '../math/Vector3';
-import { Matrix4 } from '../math/Matrix4';
-import { EventDispatcher } from './EventDispatcher';
-import { Euler } from '../math/Euler';
-import { Layers } from './Layers';
-import { Matrix3 } from '../math/... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/core/Raycaster.js | @@ -1,4 +1,4 @@
-import { Ray } from '../math/Ray';
+import { Ray } from '../math/Ray.js';
/**
* @author mrdoob / http://mrdoob.com/ | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/SceneUtils.js | @@ -1,6 +1,6 @@
-import { Matrix4 } from '../math/Matrix4';
-import { Mesh } from '../objects/Mesh';
-import { Group } from '../objects/Group';
+import { Matrix4 } from '../math/Matrix4.js';
+import { Mesh } from '../objects/Mesh.js';
+import { Group } from '../objects/Group.js';
/**
* @author alteredq / http://al... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/core/Curve.js | @@ -1,6 +1,6 @@
-import { _Math } from '../../math/Math';
-import { Vector3 } from '../../math/Vector3';
-import { Matrix4 } from '../../math/Matrix4';
+import { _Math } from '../../math/Math.js';
+import { Vector3 } from '../../math/Vector3.js';
+import { Matrix4 } from '../../math/Matrix4.js';
/**
* @author zz85... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/core/CurvePath.js | @@ -1,7 +1,7 @@
-import { Curve } from './Curve';
-import { Vector3 } from '../../math/Vector3';
-import { Geometry } from '../../core/Geometry';
-import { LineCurve } from '../curves/LineCurve';
+import { Curve } from './Curve.js';
+import { Vector3 } from '../../math/Vector3.js';
+import { Geometry } from '../../core... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/core/Font.js | @@ -3,8 +3,8 @@
* @author mrdoob / http://mrdoob.com/
*/
-import { QuadraticBezier, CubicBezier } from './Interpolations';
-import { ShapePath } from './ShapePath';
+import { QuadraticBezier, CubicBezier } from './Interpolations.js';
+import { ShapePath } from './ShapePath.js';
function Font( data ) { | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/core/Path.js | @@ -3,9 +3,9 @@
* Creates free form 2d path using series of points, lines or curves.
**/
-import { PathPrototype } from './PathPrototype';
-import { Vector2 } from '../../math/Vector2';
-import { CurvePath } from './CurvePath';
+import { PathPrototype } from './PathPrototype.js';
+import { Vector2 } from '../../m... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/core/PathPrototype.js | @@ -1,10 +1,10 @@
-import { CurvePath } from './CurvePath';
-import { EllipseCurve } from '../curves/EllipseCurve';
-import { SplineCurve } from '../curves/SplineCurve';
-import { Vector2 } from '../../math/Vector2';
-import { CubicBezierCurve } from '../curves/CubicBezierCurve';
-import { QuadraticBezierCurve } from '... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/core/Shape.js | @@ -1,5 +1,5 @@
-import { PathPrototype } from './PathPrototype';
-import { Path } from './Path';
+import { PathPrototype } from './PathPrototype.js';
+import { Path } from './Path.js';
/**
* @author zz85 / http://www.lab4games.net/zz85/blog | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/core/ShapePath.js | @@ -1,6 +1,6 @@
-import { Path } from './Path';
-import { Shape } from './Shape';
-import { ShapeUtils } from '../ShapeUtils';
+import { Path } from './Path.js';
+import { Shape } from './Shape.js';
+import { ShapeUtils } from '../ShapeUtils.js';
/**
* @author zz85 / http://www.lab4games.net/zz85/blog | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/curves/ArcCurve.js | @@ -1,4 +1,4 @@
-import { EllipseCurve } from './EllipseCurve';
+import { EllipseCurve } from './EllipseCurve.js';
function ArcCurve( aX, aY, aRadius, aStartAngle, aEndAngle, aClockwise ) { | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/curves/CatmullRomCurve3.js | @@ -1,5 +1,5 @@
-import { Vector3 } from '../../math/Vector3';
-import { Curve } from '../core/Curve';
+import { Vector3 } from '../../math/Vector3.js';
+import { Curve } from '../core/Curve.js';
/**
* @author zz85 https://github.com/zz85 | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/curves/CubicBezierCurve.js | @@ -1,6 +1,6 @@
-import { Curve } from '../core/Curve';
-import { CubicBezier } from '../core/Interpolations';
-import { Vector2 } from '../../math/Vector2';
+import { Curve } from '../core/Curve.js';
+import { CubicBezier } from '../core/Interpolations.js';
+import { Vector2 } from '../../math/Vector2.js';
functi... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/curves/CubicBezierCurve3.js | @@ -1,6 +1,6 @@
-import { Curve } from '../core/Curve';
-import { CubicBezier } from '../core/Interpolations';
-import { Vector3 } from '../../math/Vector3';
+import { Curve } from '../core/Curve.js';
+import { CubicBezier } from '../core/Interpolations.js';
+import { Vector3 } from '../../math/Vector3.js';
functi... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/curves/EllipseCurve.js | @@ -1,5 +1,5 @@
-import { Curve } from '../core/Curve';
-import { Vector2 } from '../../math/Vector2';
+import { Curve } from '../core/Curve.js';
+import { Vector2 } from '../../math/Vector2.js';
function EllipseCurve( aX, aY, xRadius, yRadius, aStartAngle, aEndAngle, aClockwise, aRotation ) { | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/curves/LineCurve.js | @@ -1,4 +1,4 @@
-import { Curve } from '../core/Curve';
+import { Curve } from '../core/Curve.js';
function LineCurve( v1, v2 ) { | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/curves/LineCurve3.js | @@ -1,5 +1,5 @@
-import { Vector3 } from '../../math/Vector3';
-import { Curve } from '../core/Curve';
+import { Vector3 } from '../../math/Vector3.js';
+import { Curve } from '../core/Curve.js';
function LineCurve3( v1, v2 ) { | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/curves/QuadraticBezierCurve.js | @@ -1,6 +1,6 @@
-import { Curve } from '../core/Curve';
-import { QuadraticBezier } from '../core/Interpolations';
-import { Vector2 } from '../../math/Vector2';
+import { Curve } from '../core/Curve.js';
+import { QuadraticBezier } from '../core/Interpolations.js';
+import { Vector2 } from '../../math/Vector2.js';
... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/curves/QuadraticBezierCurve3.js | @@ -1,6 +1,6 @@
-import { Curve } from '../core/Curve';
-import { QuadraticBezier } from '../core/Interpolations';
-import { Vector3 } from '../../math/Vector3';
+import { Curve } from '../core/Curve.js';
+import { QuadraticBezier } from '../core/Interpolations.js';
+import { Vector3 } from '../../math/Vector3.js';
... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/curves/SplineCurve.js | @@ -1,6 +1,6 @@
-import { Curve } from '../core/Curve';
-import { CatmullRom } from '../core/Interpolations';
-import { Vector2 } from '../../math/Vector2';
+import { Curve } from '../core/Curve.js';
+import { CatmullRom } from '../core/Interpolations.js';
+import { Vector2 } from '../../math/Vector2.js';
function... | true |
Other | mrdoob | three.js | 680f499d6b227eae8764dcd7504ffa8d59a30173.json | Add file extension to import paths | src/extras/objects/ImmediateRenderObject.js | @@ -1,4 +1,4 @@
-import { Object3D } from '../../core/Object3D';
+import { Object3D } from '../../core/Object3D.js';
/**
* @author alteredq / http://alteredqualia.com/ | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.