| Modifier and Type | Method and Description |
|---|---|
static StdDraw3D.Light |
StdDraw3D.ambientLight(Color col)
Adds ambient light of color col.
|
static StdDraw3D.Light |
StdDraw3D.directionalLight(double x,
double y,
double z,
Color col)
Adds a directional light of color col which shines in the direction vector (x, y, z)
|
static StdDraw3D.Light |
StdDraw3D.directionalLight(StdDraw3D.Vector3D dir,
Color col)
Adds a directional light of color col which appears to come from (x, y, z).
|
static StdDraw3D.Light |
StdDraw3D.pointLight(double x,
double y,
double z,
Color col) |
static StdDraw3D.Light |
StdDraw3D.pointLight(double x,
double y,
double z,
Color col,
double power) |
static StdDraw3D.Light |
StdDraw3D.pointLight(StdDraw3D.Vector3D origin,
Color col) |
static StdDraw3D.Light |
StdDraw3D.pointLight(StdDraw3D.Vector3D origin,
Color col,
double power) |
Copyright © 2015. All Rights Reserved.