public class com.sun.scenario.effect.light.DistantLight extends com.sun.scenario.effect.light.Light
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.scenario.effect.light.DistantLight
super_class: com.sun.scenario.effect.light.Light
{
private float azimuth;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float elevation;
descriptor: F
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
fconst_0
fconst_0
getstatic com.sun.scenario.effect.Color4f.WHITE:Lcom/sun/scenario/effect/Color4f;
invokespecial com.sun.scenario.effect.light.DistantLight.<init>:(FFLcom/sun/scenario/effect/Color4f;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/scenario/effect/light/DistantLight;
public void <init>(float, float, com.sun.scenario.effect.Color4f);
descriptor: (FFLcom/sun/scenario/effect/Color4f;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getstatic com.sun.scenario.effect.light.Light$Type.DISTANT:Lcom/sun/scenario/effect/light/Light$Type;
aload 3
invokespecial com.sun.scenario.effect.light.Light.<init>:(Lcom/sun/scenario/effect/light/Light$Type;Lcom/sun/scenario/effect/Color4f;)V
1: aload 0
fload 1
putfield com.sun.scenario.effect.light.DistantLight.azimuth:F
2: aload 0
fload 2
putfield com.sun.scenario.effect.light.DistantLight.elevation:F
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/scenario/effect/light/DistantLight;
0 4 1 azimuth F
0 4 2 elevation F
0 4 3 color Lcom/sun/scenario/effect/Color4f;
MethodParameters:
Name Flags
azimuth
elevation
color
public float getAzimuth();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.scenario.effect.light.DistantLight.azimuth:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/scenario/effect/light/DistantLight;
public void setAzimuth(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
fload 1
putfield com.sun.scenario.effect.light.DistantLight.azimuth:F
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/scenario/effect/light/DistantLight;
0 2 1 azimuth F
MethodParameters:
Name Flags
azimuth
public float getElevation();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.scenario.effect.light.DistantLight.elevation:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/scenario/effect/light/DistantLight;
public void setElevation(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
fload 1
putfield com.sun.scenario.effect.light.DistantLight.elevation:F
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/scenario/effect/light/DistantLight;
0 2 1 elevation F
MethodParameters:
Name Flags
elevation
public float[] getNormalizedLightPosition();
descriptor: ()[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=1
start local 0 0: aload 0
getfield com.sun.scenario.effect.light.DistantLight.azimuth:F
f2d
invokestatic java.lang.Math.toRadians:(D)D
dstore 1
start local 1 1: aload 0
getfield com.sun.scenario.effect.light.DistantLight.elevation:F
f2d
invokestatic java.lang.Math.toRadians:(D)D
dstore 3
start local 3 2: dload 1
invokestatic java.lang.Math.cos:(D)D
dload 3
invokestatic java.lang.Math.cos:(D)D
dmul
d2f
fstore 5
start local 5 3: dload 1
invokestatic java.lang.Math.sin:(D)D
dload 3
invokestatic java.lang.Math.cos:(D)D
dmul
d2f
fstore 6
start local 6 4: dload 3
invokestatic java.lang.Math.sin:(D)D
d2f
fstore 7
start local 7 5: fload 5
fload 5
fmul
fload 6
fload 6
fmul
fadd
fload 7
fload 7
fmul
fadd
f2d
invokestatic java.lang.Math.sqrt:(D)D
d2f
fstore 8
start local 8 6: fload 8
fconst_0
fcmpl
ifne 7
fconst_1
fstore 8
7: StackMap locals: com.sun.scenario.effect.light.DistantLight double double float float float float
StackMap stack:
iconst_3
newarray 6
dup
iconst_0
fload 5
fload 8
fdiv
fastore
dup
iconst_1
fload 6
fload 8
fdiv
fastore
dup
iconst_2
fload 7
fload 8
fdiv
fastore
astore 9
start local 9 8: aload 9
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/scenario/effect/light/DistantLight;
1 9 1 a D
2 9 3 e D
3 9 5 x F
4 9 6 y F
5 9 7 z F
6 9 8 len F
8 9 9 pos [F
}
SourceFile: "DistantLight.java"
InnerClasses:
public final Type = com.sun.scenario.effect.light.Light$Type of com.sun.scenario.effect.light.Light