You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find it quite difficult to build a <Polygon> with this code:
<Polygon
options={{
shape: [
new BABYLON.Vector3(2, 0, -2),
new BABYLON.Vector3(2, 0, 0),
new BABYLON.Vector3(3, 0, 2),
new BABYLON.Vector3(1, 0, 2),
new BABYLON.Vector3(-3, 0, 3),
new BABYLON.Vector3(-3, 0, 1),
new BABYLON.Vector3(-2, 0, -2),
new BABYLON.Vector3(-2, 0, -3),
new BABYLON.Vector3(2, 0, -3),
],
depth: 1,
}}
/>
So I would like an example where using it is possible to create a custom polygon on the fly.
The text was updated successfully, but these errors were encountered:
I find it quite difficult to build a
<Polygon>
with this code:So I would like an example where using it is possible to create a custom polygon on the fly.
The text was updated successfully, but these errors were encountered: