{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/10432","repository_url":"https://api.github.com/repos/mrdoob/three.js","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/10432/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/10432/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/10432/events","html_url":"https://github.com/mrdoob/three.js/issues/10432","id":196932320,"number":10432,"title":"getSpacedPoints from CatmullRomCurve3 returns points with the different distance between them","user":{"login":"redos8","id":18700297,"avatar_url":"https://avatars.githubusercontent.com/u/18700297?v=3","gravatar_id":"","url":"https://api.github.com/users/redos8","html_url":"https://github.com/redos8","followers_url":"https://api.github.com/users/redos8/followers","following_url":"https://api.github.com/users/redos8/following{/other_user}","gists_url":"https://api.github.com/users/redos8/gists{/gist_id}","starred_url":"https://api.github.com/users/redos8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redos8/subscriptions","organizations_url":"https://api.github.com/users/redos8/orgs","repos_url":"https://api.github.com/users/redos8/repos","events_url":"https://api.github.com/users/redos8/events{/privacy}","received_events_url":"https://api.github.com/users/redos8/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-21T13:26:17Z","updated_at":"2016-12-22T03:18:47Z","closed_at":"2016-12-21T16:37:33Z","body":"I'm trying to get points with the same distance each other like this\r\n\r\n```\r\nvar spline = new THREE.CatmullRomCurve3([\r\n    new THREE.Vector3(-5423.1, -109.2, 1765.8),\t\r\n    new THREE.Vector3(-4730.6, -258.2, 2154.3),\t\t\r\n    new THREE.Vector3(-4616.0, 364.6, 2018.6),\r\n    ...\r\n]);\r\nvar ppiDistance = 15; // breakpoint per distance\r\nvar pointsCount = Math.ceil(spline.getLength() / ppiDistance);\r\nvar pointsCalculated = spline.getSpacedPoints(pointsCount);\r\n```\r\n\r\nBut I'm getting situation like this on different segments:\r\nhttps://monosnap.com/file/YK23E7VnyxrgX4Esoil2MNo5x3YVns.png\r\n\r\nIs it bug?\r\n\r\n##### Three.js version\r\n\r\n- [ ] Dev\r\n- [x] r82\r\n- [ ] ...\r\n\r\n##### Browser\r\n\r\n- [x] All of them\r\n- [ ] Chrome\r\n- [ ] Firefox\r\n- [ ] Internet Explorer\r\n\r\n##### OS\r\n\r\n- [x] All of them\r\n- [ ] Windows\r\n- [ ] Linux\r\n- [ ] Android\r\n- [ ] IOS\r\n\r\n##### Hardware Requirements (graphics card, VR Device, ...)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/268708621","html_url":"https://github.com/mrdoob/three.js/issues/10432#issuecomment-268708621","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/10432","id":268708621,"user":{"login":"mrdoob","id":97088,"avatar_url":"https://avatars.githubusercontent.com/u/97088?v=3","gravatar_id":"","url":"https://api.github.com/users/mrdoob","html_url":"https://github.com/mrdoob","followers_url":"https://api.github.com/users/mrdoob/followers","following_url":"https://api.github.com/users/mrdoob/following{/other_user}","gists_url":"https://api.github.com/users/mrdoob/gists{/gist_id}","starred_url":"https://api.github.com/users/mrdoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrdoob/subscriptions","organizations_url":"https://api.github.com/users/mrdoob/orgs","repos_url":"https://api.github.com/users/mrdoob/repos","events_url":"https://api.github.com/users/mrdoob/events{/privacy}","received_events_url":"https://api.github.com/users/mrdoob/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T03:18:47Z","updated_at":"2016-12-22T03:18:47Z","body":"Was not aware of `__arcLengthDivisions`. Seems hacky indeed..."}}
{"actor":{"display_login":"mrdoob"}}