Viewing 3 reply threads
  • Author
    Posts
    • #5759 Score: 0
      picamast
      Participant

      作业二的三角形出现奇怪的边界。求大佬们帮忙发现问题。

      Attachments:
      You must be logged in to view attached files.
    • #5764 Score: 0
      picamast
      Participant

      还有一张图

      Attachments:
      You must be logged in to view attached files.
    • #5859 Score: 1
      windsmoon
      Participant
      1 pt

      你这个 +0.5 没意义啊,inside 那个函数接受的是 int 参数,你加上 0.5 再转成 int 就相当于没加,所以最后于实际上是判断像素左下角是否在三角形内,边界应该就会出问题

      This post has received 1 vote up.
    • #7551 Score: 0
      qiaogaojian
      Participant

      为什么你的正交矩阵没有平移

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