import { normalizeVec3 } from "./MathTypes.js";
import { Light } from "./Light.js";
export class DirectionalLight extends Light {
    constructor(name = "DirectionalLight", id) {
        super("directional", name, id);
    }
    getDirection() {
        const m = this.transform.worldMatrix;
        return normalizeVec3([-m[8], -m[9], -m[10]]);
    }
}
//# sourceMappingURL=DirectionalLight.js.map