Skip to content
TheChatArchiveThe Chat Archive
gpt-3.5-turbo-0613· OpenAIAi2 WildChat-4.8M (AI2)

У тебя есть точки куба: new Vertex(new Vector3( 0.5f, 0.5f, -0.5f)), new Vertex(new…

  1. User

    У тебя есть точки куба: new Vertex(new Vector3( 0.5f, 0.5f, -0.5f)), new Vertex(new Vector3( 0.5f, -0.5f, -0.5f)), new Vertex(new Vector3(-0.5f, -0.5f, -0.5f)), new Vertex(new Vector3(-0.5f, 0.5f, -0.5f)),

            new Vertex(new Vector3( 0.5f,  0.5f,  0.5f)),
            new Vertex(new Vector3( 0.5f, -0.5f,  0.5f)),
            new Vertex(new Vector3(-0.5f, -0.5f,  0.5f)),
            new Vertex(new Vector3(-0.5f,  0.5f,  0.5f)) Напиши Indices куба
    
  2. Assistant

    Вот Indices куба:

    int[] indices = { // Front face 0, 1, 2, 2, 3, 0,

    // Back face
    4, 7, 6,
    6, 5, 4,
    
    // Top face
    3, 2, 6,
    6, 7, 3,
    
    // Bottom face
    0, 4, 5,
    5, 1, 0,
    
    // Right face
    1, 5, 6,
    6, 2, 1,
    
    // Left face
    4, 0, 3,
    3, 7, 4
    

    };