Search found 8 matches
- Fri Jun 15, 2012 7:45 am
- Forum: Bug reports
- Topic: line2d::isPointOnLine issue
- Replies: 8
- Views: 1246
Re: line2d::isPointOnLine issue
I have to admit, that's a pretty comprehensive test, but still, your point/line values are still pretty small (<1.0f). Most of my false negatives occurred with relatively long lines (>20.0f).
- Wed Jun 13, 2012 3:21 pm
- Forum: Bug reports
- Topic: line2d::isPointOnLine issue
- Replies: 8
- Views: 1246
Re: line2d::isPointOnLine issue
@gerdb: As stated by CuteAlien before, the test sometimes fails even for values "much larger" than F32_ROUNDING_ERROR
- Wed Jun 13, 2012 10:58 am
- Forum: Bug reports
- Topic: line2d::isPointOnLine issue
- Replies: 8
- Views: 1246
Re: line2d::isPointOnLine issue
Wouldn't checking the distance from the nearest point on the line be kind of mathematically equivalent to using an epsilon? At what distance, exactly, should I consider my point "on that line"? Anyway, you're right, before your reply I also had a couple of cases where I had to increase my ...
- Tue Jun 12, 2012 2:23 pm
- Forum: Bug reports
- Topic: line2d::isPointOnLine issue
- Replies: 8
- Views: 1246
line2d::isPointOnLine issue
I encountered a weird problem: using line2d::intersectWith gives me a vector2d with the intersection point. Great. So I assumed that, naturally, calling isPointOnLine with that vector as a parameter would ALWAYS return true. That was not the case, so I looked at the method's source code: bool isPoin...
- Mon Jan 30, 2012 5:09 pm
- Forum: Beginners Help
- Topic: Meshbuffer vertex coords issue
- Replies: 6
- Views: 350
Re: Meshbuffer vertex coords issue
Yup, the copying kind of occured to me as I was coding. Thanks for the additional tip
- Mon Jan 30, 2012 3:34 pm
- Forum: Beginners Help
- Topic: Meshbuffer vertex coords issue
- Replies: 6
- Views: 350
Re: Meshbuffer vertex coords issue
...as for your edit2 - my mistake, I obviously meant the 3D scene. I don't think exporting transformations is the way to go, because I need co create something easily reparseable into a bunch of different open formats, such as .obj, which I don't think supports transformations. Or am I wrong here as...
- Mon Jan 30, 2012 2:59 pm
- Forum: Beginners Help
- Topic: Meshbuffer vertex coords issue
- Replies: 6
- Views: 350
Re: Meshbuffer vertex coords issue
Thanks for the reply. I don't necessarily need to change the meshes themselves, but I cannot export any other parameters than vertex coordinates. I'm just looking for a way to obtain a list of transformed vertices, whether by changing the mesh or not - that's not significant. Just to be clear - my g...
- Mon Jan 30, 2012 12:24 pm
- Forum: Beginners Help
- Topic: Meshbuffer vertex coords issue
- Replies: 6
- Views: 350
Meshbuffer vertex coords issue
Hi. I'm trying to export my scene to my own text format and I came along the following problem: When I do my own custom scene nodes, everything works fine, but when I try to export the meshbuffers of mesh scene nodes loaded from md2 or any other format - I get the original vertex coordinates, instea...