Skip to content

ConeGeometry has wrong side faces and triangles #29721

@longriver1012

Description

@longriver1012

Description

when create the conegeometry,set the heightSegments up to 1,example 3,there is a error that side faces show only half of faces and triangles, some triangles disappear
PixPin_2024-10-22_15-52-44

Reproduction steps

  1. Create a cone geometry
  2. set the heightSegments to 3, others keep default
  3. check the side faces,there is an error

Code

const geometry = new THREE.ConeGeometry(1, 1, 32, 3);
const material = new THREE.MeshBasicMaterial();
const mesh = new THREE.Mesh(geometry, material);

Live example

Screenshots

PixPin_2024-10-22_15-52-44

Version

r169

Device

Desktop

Browser

Chrome

OS

Windows

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions