All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class berkeley.cs.dmc.ji3d.PointLight

java.lang.Object
   |
   +----berkeley.cs.dmc.ji3d.Base
           |
           +----berkeley.cs.dmc.ji3d.Light
                   |
                   +----berkeley.cs.dmc.ji3d.PointLight

public final class PointLight
extends Light

Variable Index

 o center
 o falloff

Constructor Index

 o PointLight(Vec3, Vec3)
 o PointLight(Vec3, Vec3, float)

Method Index

 o attenuate(float)
 o lightDir(Vec3, Vec4)

Variables

 o center
 public Vec3 center
 o falloff
 public float falloff

Constructors

 o PointLight
 public PointLight(Vec3 color,
                   Vec3 center,
                   float falloff)
 o PointLight
 public PointLight(Vec3 color,
                   Vec3 center)

Methods

 o lightDir
 protected float lightDir(Vec3 dir,
                          Vec4 v)
Overrides:
lightDir in class Light
 o attenuate
 protected float attenuate(float dist)
Overrides:
attenuate in class Light

All Packages  Class Hierarchy  This Package  Previous  Next  Index