Defining an “inside room point” from wall points
问题 I need help with one tricky thing that I've tried to solve for a couple of days now. It feels like it should be relatively easy and that I am simply missing something somewhere. I have an array defining each wall point (black dots) and I want to create a new inside point (green dots) for each wall point. The distance between each wall point and inside point should be 600. I made a picture to show what I mean: I'm writing this in javascript with aid of WebGL (ThreeJS). 回答1: I'm going to