Changeset 13231 for fact/tools/pyscripts/pyfact
- Timestamp:
- 03/26/12 15:49:47 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/pyfact/coor.py
r13181 r13231 5 5 import os.path 6 6 import numpy as np 7 from pylab import * 7 import math 8 8 from euclid import * 9 9 … … 40 40 center = Vector2( 0. , 1./2.) 41 41 ey = Vector2( 0. , 1. ) 42 ex = Vector2( sqrt(3)/2. , 1./2. )42 ex = Vector2( math.sqrt(3)/2. , 1./2. ) 43 43 self.center = ( center.x , center.y ) 44 44 self.ey = ( ey.x, ey.y)
Note:
See TracChangeset
for help on using the changeset viewer.