XiaofanLinUS
XiaofanLinUS
Oh, sorry, I forgot to tell you. I am using Ubuntu 16.04 LTS.
According to my calculation, everything works as expected.  In case you need to examine it, I included my full study note on this one. [Note 97.pdf](https://github.com/ssloy/tinyrenderer/files/8973585/Note.97.pdf)
I am pretty sure that +1 is used to avoid div by 0. I was confused by that too when I was doing it. I think it's a hack. The...
"My implentation is divide the pt[0][3] early so it would look like this: float z = pts[0][2]*c.x/pt[0][3] + pts[1][2]/pt[1][3]*c.y + pts[2][2]/pt[2][3]*c.z And its result obviously is not the same with...
东哥,你的makeRecently没有更新hash table里面的node, 你删了和更新了链表的node却没有更新table下面key对应的node
``` get_recent(key: number): number { let node = this.hashmap.get(key); if(node == undefined) return -1; this.list.delete(node); node = this.list.push(node.key, node.val); this.hashmap.set(key, node); return node.val; } ```