Fixed-step world runtime, event bus wire protocol between lanes, integration seam (game.ts) with placeholder ball. Lanes A/B/C own disjoint dirs. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
25 lines
516 B
JavaScript
25 lines
516 B
JavaScript
import { UniformsLib } from 'three';
|
|
import { RectAreaLightTexturesLib } from './RectAreaLightTexturesLib.js';
|
|
|
|
class RectAreaLightUniformsLib {
|
|
|
|
static init() {
|
|
|
|
RectAreaLightTexturesLib.init();
|
|
|
|
const { LTC_FLOAT_1, LTC_FLOAT_2, LTC_HALF_1, LTC_HALF_2 } = RectAreaLightTexturesLib;
|
|
|
|
// data textures
|
|
|
|
UniformsLib.LTC_FLOAT_1 = LTC_FLOAT_1;
|
|
UniformsLib.LTC_FLOAT_2 = LTC_FLOAT_2;
|
|
|
|
UniformsLib.LTC_HALF_1 = LTC_HALF_1;
|
|
UniformsLib.LTC_HALF_2 = LTC_HALF_2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export { RectAreaLightUniformsLib };
|