Skip to content

Comments

Geometry custom mesh#66

Draft
Fernthedev wants to merge 1 commit intoAeroluna:devfrom
Fernthedev:geometry-vertices
Draft

Geometry custom mesh#66
Fernthedev wants to merge 1 commit intoAeroluna:devfrom
Fernthedev:geometry-vertices

Conversation

@Fernthedev
Copy link
Contributor

Adds custom mesh for geometry

"_geometry": {
  "_type": "CUSTOM",
  "_mesh": {
    "_vertices": [[0,0,0], [1,1,1], [0, 1, 1], [1,0,1], [1,1,0], [1,0,0], [0,1,0], [0,0,1]] // idk what this shape is. required
    "_uv": [[0, 0], [1,1]], // optional
    "_triangles": [0, 1, 2, 3, 4, 5, 6, 7] // optional, must be multiple of 3. In order of vertices
    }
  }
}

@Fernthedev Fernthedev changed the base branch from master to dev July 28, 2022 00:33
@Fernthedev Fernthedev changed the title Geometry vertices Geometry custom mesh Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant