Python class-names != names in reference
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
Medium
|
rdb |
Bug Description
Documentation:
You cannot import the classes in the python reference by their names from there.
There is not even a hint in the class-docs nor a fast-to-find mapping table translating (python)
I found the mapping of c++-class-names (also used in python reference) to python names in "interfaceMaker
Loader -> PandaLoader
string -> CString
LMatrix4f -> Mat4
LMatrix3f -> Mat3
LVecBase4f -> VBase4
LVector4f -> Vec4
LPoint4f -> Point4
LVecBase3f -> VBase3
LVector3f -> Vec3
LPoint3f -> Point3
LVecBase2f -> VBase2
LVector2f -> Vec2
LPoint2f -> Point2
LQuaternionf -> Quat
LMatrix4d -> Mat4D
LMatrix3d -> Mat3D
LVecBase4d -> VBase4D
LVector4d -> Vec4D
LPoint4d -> Point4D
LVecBase3d -> VBase3D
LVector3d -> Vec3D
LPoint3d -> Point3D
LVecBase2d -> VBase2D
LVector2d -> Vec2D
LPoint2d -> Point2D
LQuaterniond -> QuatD
Plane -> PlaneBase
Planef -> Plane
Planed -> PlaneD
Frustum -> FrustumBase
Frustumf -> Frustum
Frustumd -> FrustumD
Changed in panda3d: | |
status: | New → Triaged |
milestone: | none → 1.7.1 |
assignee: | nobody → rdb (rdb) |
importance: | Undecided → Medium |
Changed in panda3d: | |
status: | Triaged → Fix Released |
see discussion at http:// www.panda3d. org/forums/ viewtopic. php?t=10060