Skip to content

Commit ba4cfc2

Browse files
committed
Curve: Fixed docs
1 parent bf585b5 commit ba4cfc2

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

docs/api/geometries/TubeBufferGeometry.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ <h1>[name]</h1>
3535
<h2>Example</h2>
3636

3737
<code>
38-
function CustomSinCurve( scale ){
38+
function CustomSinCurve( scale ) {
39+
40+
THREE.Curve.call( this );
3941

4042
this.scale = ( scale === undefined ) ? 1 : scale;
4143

docs/api/geometries/TubeGeometry.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ <h1>[name]</h1>
3535
<h2>Example</h2>
3636

3737
<code>
38-
function CustomSinCurve( scale ){
38+
function CustomSinCurve( scale ) {
39+
40+
THREE.Curve.call( this );
3941

4042
this.scale = ( scale === undefined ) ? 1 : scale;
4143

docs/scenes/js/geometry.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ function updateGroupGeometry( mesh, geometry ) {
9191

9292
}
9393

94-
function CustomSinCurve( scale ){
94+
function CustomSinCurve( scale ) {
95+
96+
THREE.Curve.call( this );
9597

9698
this.scale = ( scale === undefined ) ? 1 : scale;
9799

0 commit comments

Comments
 (0)