updated code with more comments
This commit is contained in:
parent
460a71d2b3
commit
67123bb970
11 changed files with 262 additions and 1116 deletions
|
@ -1,6 +1,12 @@
|
|||
from math import sqrt
|
||||
from numpy import array
|
||||
|
||||
'''
|
||||
Vector object has the same functionality as VPython's vector.
|
||||
this module is used when only vector processing is required and
|
||||
VPython is not available (e.g. non-Windows platforms)
|
||||
'''
|
||||
|
||||
class Vector:
|
||||
x, y, z = (0.0, 0.0, 0.0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue