Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/mathutils/mathutils_Vector.c
| Show First 20 Lines • Show All 3,182 Lines • ▼ Show 20 Lines | |||||
| * both get sent to Vector_mul and it needs to sort out the order | * both get sent to Vector_mul and it needs to sort out the order | ||||
| * \{ */ | * \{ */ | ||||
| PyDoc_STRVAR(vector_doc, | PyDoc_STRVAR(vector_doc, | ||||
| ".. class:: Vector(seq)\n" | ".. class:: Vector(seq)\n" | ||||
| "\n" | "\n" | ||||
| " This object gives access to Vectors in Blender.\n" | " This object gives access to Vectors in Blender.\n" | ||||
| "\n" | "\n" | ||||
| " :param seq: Components of the vector, must be a sequence of at least two\n" | " :arg seq: Components of the vector, must be a sequence of at least two\n" | ||||
| " :type seq: sequence of numbers\n"); | " :type seq: sequence of numbers\n"); | ||||
| PyTypeObject vector_Type = { | PyTypeObject vector_Type = { | ||||
| PyVarObject_HEAD_INIT(NULL, 0) | PyVarObject_HEAD_INIT(NULL, 0) | ||||
| /* For printing, in format "<module>.<name>" */ | /* For printing, in format "<module>.<name>" */ | ||||
| "Vector", /* char *tp_name; */ | "Vector", /* char *tp_name; */ | ||||
| sizeof(VectorObject), /* int tp_basicsize; */ | sizeof(VectorObject), /* int tp_basicsize; */ | ||||
| 0, /* tp_itemsize; For allocation */ | 0, /* tp_itemsize; For allocation */ | ||||
| ▲ Show 20 Lines • Show All 178 Lines • Show Last 20 Lines | |||||