Changeset 448 for trunk/avango-connect/python/avango/connect/_SFVec4.py
- Timestamp:
- 05/14/10 11:31:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/avango-connect/python/avango/connect/_SFVec4.py
r187 r448 3 3 ########################################################################## 4 4 # # 5 # This file is part of A vango. #5 # This file is part of AVANGO. # 6 6 # # 7 7 # Copyright 1997 - 2009 Fraunhofer-Gesellschaft zur Foerderung der # 8 8 # angewandten Forschung (FhG), Munich, Germany. # 9 9 # # 10 # A vangois free software: you can redistribute it and/or modify #10 # AVANGO is free software: you can redistribute it and/or modify # 11 11 # it under the terms of the GNU Lesser General Public License as # 12 12 # published by the Free Software Foundation, version 3. # 13 13 # # 14 # A vangois distributed in the hope that it will be useful, #14 # AVANGO is distributed in the hope that it will be useful, # 15 15 # but WITHOUT ANY WARRANTY; without even the implied warranty of # 16 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # … … 18 18 # # 19 19 # You should have received a copy of the GNU Lesser General Public # 20 # License along with Avango. If not, see <http://www.gnu.org/licenses/>. # 21 # # 22 # Avango is a trademark owned by FhG. # 20 # License along with AVANGO. If not, see <http://www.gnu.org/licenses/>. # 23 21 # # 24 22 ########################################################################## … … 47 45 for x in zip(line[::4], line[1::4], line[2::4], line[3::4]): 48 46 vec = avango.osg.Vec4(float(x[0]), float(x[1]), float(x[2]), float(x[3])) 49 field.value = vec 47 field.value = vec 50 48 return field 51 49 52 50 _register_field(avango.osg.SFVec4, SFVec4Descriptor()) 53
Note: See TracChangeset
for help on using the changeset viewer.
