From: Zbigniew <ze...@in...> - 2004-05-14 18:36:52
|
> All vectors are always floating-point values in VPython. If you need to > truncate the precision to an integer type, you will probably need to > write your own round-to-nearest conversion routine since Python only > directly supports truncation of the decimal part. See math.modf() for > some help here. Yes! That was the reason. I even don't need the Matrix module now. I can give it as example for Vpython. Let me know what to change in the "shape" of the code. > VPython doesn't support anything in screen coordinates except for > portions of the text object. I'm doing some experiments with OpenGL > textures that may yield fruit in this area, but its way too early to > tell right now. Nice to know. Zbigniew Trzcionkowski <ze...@in...> |