|
Blender
V2.59
|
Go to the source code of this file.
Classes | |
| struct | VectorObject |
Defines | |
| #define | VectorObject_Check(_v) PyObject_TypeCheck((_v), &vector_Type) |
Functions | |
| PyObject * | newVectorObject (float *vec, const int size, const int type, PyTypeObject *base_type) |
| PyObject * | newVectorObject_cb (PyObject *user, int size, int callback_type, int subtype) |
Variables | |
| PyTypeObject | vector_Type |
| #define VectorObject_Check | ( | _v | ) | PyObject_TypeCheck((_v), &vector_Type) |
Definition at line 40 of file mathutils_Vector.h.
Referenced by M_Geometry_tesselate_polygon(), mathutils_array_parse(), Matrix_mul(), Quaternion_mul(), Vector_add(), Vector_div(), Vector_iadd(), Vector_isub(), Vector_mul(), Vector_richcmpr(), and Vector_sub().
| PyObject* newVectorObject | ( | float * | vec, |
| const int | size, | ||
| const int | type, | ||
| PyTypeObject * | base_type | ||
| ) |
Definition at line 2447 of file mathutils_Vector.c.
References fill_vn(), NULL, Py_NEW, Py_WRAP, and size().
Referenced by M_Geometry_barycentric_transform(), M_Geometry_interpolate_bezier(), M_Geometry_intersect_line_line(), M_Geometry_intersect_line_line_2d(), M_Geometry_intersect_line_plane(), M_Geometry_intersect_line_sphere(), M_Geometry_intersect_line_sphere_2d(), M_Geometry_intersect_point_line(), M_Geometry_intersect_ray_tri(), M_Geometry_normal(), Matrix_decompose(), Matrix_mul(), Matrix_to_scale(), Matrix_to_translation(), newVectorObject_cb(), pyrna_math_object_from_array(), pyrna_param_to_py(), Quaternion_getAxisVec(), Quaternion_mul(), Vector_add(), Vector_copy(), Vector_cross(), Vector_div(), Vector_getSwizzle(), Vector_lerp(), Vector_mul(), vector_mul_float(), Vector_neg(), Vector_new(), Vector_project(), Vector_reflect(), Vector_sub(), Vector_to_2d(), Vector_to_3d(), and Vector_to_4d().
| PyObject* newVectorObject_cb | ( | PyObject * | user, |
| int | size, | ||
| int | callback_type, | ||
| int | subtype | ||
| ) |
Definition at line 2491 of file mathutils_Vector.c.
References newVectorObject(), and Py_NEW.
Referenced by Matrix_item(), Matrix_slice(), and pyrna_math_object_from_array().
| PyTypeObject vector_Type |
Definition at line 2360 of file mathutils_Vector.c.
Referenced by M_Geometry_area_tri(), M_Geometry_barycentric_transform(), M_Geometry_interpolate_bezier(), M_Geometry_intersect_line_line(), M_Geometry_intersect_line_line_2d(), M_Geometry_intersect_line_plane(), M_Geometry_intersect_line_sphere(), M_Geometry_intersect_line_sphere_2d(), M_Geometry_intersect_point_line(), M_Geometry_intersect_point_quad_2d(), M_Geometry_intersect_point_tri_2d(), M_Geometry_intersect_ray_tri(), M_Geometry_normal(), M_Geometry_tesselate_polygon(), and PyInit_mathutils().