forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
48 changed files
with
806 additions
and
354 deletions.
There are no files selected for viewing
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<script src="../../list.js"></script> | ||
<script src="../../page.js"></script> | ||
<link type="text/css" rel="stylesheet" href="../../page.css" /> | ||
</head> | ||
<body> | ||
<h1>[name]</h1> | ||
|
||
<div class="desc">This is a utility class to handle values in <a href="https://en.wikipedia.org/wiki/RGB_color_model">RGB</a> and <a href="https://en.wikipedia.org/wiki/HSL_and_HSV">HSV</a> color spaces.</div> | ||
|
||
|
||
<h2>Methods</h2> | ||
|
||
<h3>.adjustHSV( [page:Color color], [page:Number h], [page:Number s], [page:Number v] )</h3> | ||
|
||
<div class="desc">Taking a color as input, converts it to HSV, and applies the h, s, v parameters in place, i.e. no new color is returned but the original object is modified.</div> | ||
|
||
<div> | ||
[page:Color color] — source color to be adjusted<br /> | ||
[page:Number h] — hue change amount<br /> | ||
[page:Number s] — saturation change amount<br /> | ||
[page:Number v] — value change amount | ||
</div> | ||
|
||
<h3>.rgbToHsv( [page:Color color], [page:Object hsv] )</h3> | ||
|
||
<div class="desc">Converts an RGB color into an HSV triplet and returns the converted color.</div> | ||
|
||
<div> | ||
[page:Color color] — source color to be converted<br /> | ||
[page:Object hsv] — object in which the return value will be stored, if not null | ||
</div> | ||
|
||
|
||
<h2>Source</h2> | ||
|
||
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js] | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<script src="../../../list.js"></script> | ||
<script src="../../../page.js"></script> | ||
<link type="text/css" rel="stylesheet" href="../../../page.css" /> | ||
</head> | ||
<body> | ||
<h1>[name]</h1> | ||
|
||
<div class="desc">todo</div> | ||
|
||
|
||
<h2>Constructor</h2> | ||
|
||
<h3>[name]( radius, detail )</h3> | ||
|
||
|
||
<h2>Properties</h2> | ||
|
||
<h3>.[page:Vector3 todo]</h3> | ||
|
||
|
||
<h2>Methods</h2> | ||
|
||
<h3>.todo( [page:Vector3 todo] )</h3> | ||
<div> | ||
todo — todo<br /> | ||
</div> | ||
|
||
|
||
<h2>Source</h2> | ||
|
||
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js] | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<script src="../../../list.js"></script> | ||
<script src="../../../page.js"></script> | ||
<link type="text/css" rel="stylesheet" href="../../../page.css" /> | ||
</head> | ||
<body> | ||
<h1>[name]</h1> | ||
|
||
<div class="desc">todo</div> | ||
|
||
|
||
<h2>Constructor</h2> | ||
|
||
<h3>[name]( radius, detail )</h3> | ||
|
||
|
||
<h2>Properties</h2> | ||
|
||
<h3>.[page:Vector3 todo]</h3> | ||
|
||
|
||
<h2>Methods</h2> | ||
|
||
<h3>.todo( [page:Vector3 todo] )</h3> | ||
<div> | ||
todo — todo<br /> | ||
</div> | ||
|
||
|
||
<h2>Source</h2> | ||
|
||
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js] | ||
</body> | ||
</html> |
Oops, something went wrong.