- Messages
- 374

- Country

Hi, this is the asm code for the first light of my calvert:

The runway heading is 320, so if I had right the vector components result are:

X: sin(320) x 32768 = -21062 (21062 used)

Y: cos(320) x 32768 = 25101 (-25101 used)

Distance: the distance from the gmax refpoint 0,0,0 are 443.256, so 443.256x32768 results in 14524612.

The problem is that my lights does not goes off when I pass over it and it is still visible from the opposite view. Are my calculation right?

Code:

```
SEPARATION_PLANE PrimaFila, 21062, 0, -25101, 14524612
BGL_LIGHT LIGHT_NAV, 0.008, 3.488, -886.512, 20, 0.60, 0.40, 0FFD4CE86h, 0.000000, 0.000000, 1.000000 ; source poly num = 1
PrimaFila label word
```

The runway heading is 320, so if I had right the vector components result are:

X: sin(320) x 32768 = -21062 (21062 used)

Y: cos(320) x 32768 = 25101 (-25101 used)

Distance: the distance from the gmax refpoint 0,0,0 are 443.256, so 443.256x32768 results in 14524612.

The problem is that my lights does not goes off when I pass over it and it is still visible from the opposite view. Are my calculation right?