@giro3d/giro3d
Version:
A JS/WebGL framework for 3D geospatial data visualization
23 lines (18 loc) • 455 B
text/typescript
/*
* Copyright (c) 2015-2018, IGN France.
* Copyright (c) 2018-2026, Giro3D team.
* SPDX-License-Identifier: MIT
*/
import type { Color, Matrix4 } from 'three';
export interface IntersectingVolume {
worldToBoxNdc: Matrix4;
color: Color;
}
export interface IntersectingVolumeUniform {
viewToBoxNc: Matrix4;
color: Color;
}
export interface IntersectingVolumesUniform {
count: number;
volumes: IntersectingVolumeUniform[];
}