Posts by Afonso • 3 points
5 posts
-
-1
votes1
answer49
viewsQ: I can’t access an index from an array
Well, I am having trouble accessing the 3° index of my list. When I try to access, returns me an error of: List index out of range. vertices = [[-1,-1,1], [-1,1,1], [1,1,1], [1,-1,1]] for v in…
-
0
votes0
answers23
viewsQ: Bug while removing leaf node
Good evening, folks. I’m having a bug in an algorithm that removes sheet node in javascript. The code is correct, but when executed, it says that the node has been removed. But when I check the…
javascriptasked Afonso 3 -
-1
votes2
answers47
viewsA: Compare the values of two lists
Well, it depends on how you want to compare. If you want to know if the values are equal, do this: a = [30, 35, 40, 50] b = [25, 35, 40, 55] for listA in a: for listB in b: if listA == listB:…
-
-2
votes3
answers164
viewsA: Read more than one line with input
You can try to do that: lista =…
-
0
votes0
answers32
viewsQ: Delete hidden vertices Unity 3D
I was studying procedural generation of land using mesh and decided to create a world like Minecraft. And I need to make it just create cubes that are visible to the player. Because there are cubes…