github
13 of 238 branches covered (5.46%)
Branch coverage included in aggregate %.
0 of 472 new or added lines in 41 files covered. (0.0%)
19728 existing lines in 193 files now uncovered.91 of 28170 relevant lines covered (0.32%)
0.02 hits per line
UNCOV
1
|
import {uid} from '@luma.gl/core'; |
|
UNCOV
2
|
import {TruncatedConeGeometry} from './truncated-cone-geometry'; |
× |
UNCOV
3
|
|
× |
UNCOV
4
|
export type CylinderGeometryProps = {
|
× |
UNCOV
5
|
id?: string;
|
× |
UNCOV
6
|
radius?: number; |
× |
UNCOV
7
|
attributes?: any; |
× |
UNCOV
8
|
}; |
× |
UNCOV
9
|
|
× |
UNCOV
10
|
export class CylinderGeometry extends TruncatedConeGeometry { |
× |
UNCOV
11
|
constructor(props: CylinderGeometryProps = {}) { |
× |
UNCOV
12
|
const {id = uid('cylinder-geometry'), radius = 1} = props; |
× |
UNCOV
13
|
super({ |
× |
UNCOV
14
|
...props, |
× |
UNCOV
15
|
id, |
× |
UNCOV
16
|
bottomRadius: radius, |
× |
UNCOV
17
|
topRadius: radius |
× |
UNCOV
18
|
}); |
× |
UNCOV
19
|
} |
× |
UNCOV
20
|
} |
× |