My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package org.papervision3d.lights
{
import org.papervision3d.core.math.Number3D;
import org.papervision3d.core.proto.LightObject3D;

public class PointLight3D extends LightObject3D
{
public static var DEFAULT_POS:Number3D = new Number3D( 0, 0, -1000 );

/**
* Constructor.
*
* @param showLight A Boolean value indicating whether the light is visible.
* @param flipped A Boolean value indicating whether to flip the light-direction (needed for correct DAE-shading).
*/
public function PointLight3D(showLight:Boolean = false, flipped:Boolean = false)
{
super(showLight, flipped);
x = DEFAULT_POS.x;
y = DEFAULT_POS.y;
z = DEFAULT_POS.z;
}

}
}

Change log

r708 by neoriley on Aug 25, 2008   Diff
Updating Trunk to 2.0 Beta
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 688 bytes, 25 lines
Powered by Google Project Hosting