# lamp

function in `@dioramajs/text/extrude`

```ts
import { lamp } from '@dioramajs/text/extrude'
```

The light in the frame of a face turned up by `ax` and right by `ay`: y down, z to the viewer.

```ts
function lamp(light: number, ax: number, ay: number, out?: Vector3): Vector3
```

| Parameter | Type | Description |
| --- | --- | --- |
| `light` | `number` |  |
| `ax` | `number` |  |
| `ay` | `number` |  |
| `out?` | `Vector3` |  |

Defined in [packages/text/src/extrude.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/text/src/extrude.ts#L138).
