Algis Kabaila wrote:
the Vector3 class is available without any prefix euclid:

import euclid v = Vector3(111.., 222.2, 333.3)

Doesn't work that way for me:

Python 2.7 (r27:82500, Oct 15 2010, 21:14:33)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import euclid
>>> Vector3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'Vector3' is not defined

Are you sure you hadn't previously done 'from euclid import
Vector3' or 'from euclid import *' in that session?

--
Greg
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to