Home Forums GAMES在线课程(现代计算机图形学入门)讨论区 作业2:为什么boundingbox的结果和正确的对不上?

Viewing 2 reply threads
  • Author
    Posts
    • #3445 Score: 0
      6君
      Participant
      1 pt

      作业2:为什么boundingbox的结果和正确的对不上?甚至打印的值都不属于三个顶点中任意一个值

      • This topic was modified 4 years ago by 6君.
      Attachments:
      You must be logged in to view attached files.
    • #3452 Score: 0
      Bear
      Participant
      -11 pt

      emmm, 最大值最小值不用这样找。可以 max(max()) 这样嵌套从而在三个顶点里找各自分量的最大值

      • #3453 Score: 0
        6君
        Participant
        1 pt

        有道理。。

    • #3454 Score: 0
      sublimation
      Participant
      3 pts

      C++里面的逗号表达式不能这样用,你可以用连等

Viewing 2 reply threads
  • You must be logged in to reply to this topic.