Cleanup: comment blocks
This commit is contained in:
@@ -691,7 +691,7 @@ PyObject *PyC_UnicodeFromByte(const char *str)
|
||||
* Description: This function creates a new Python dictionary object.
|
||||
* note: dict is owned by sys.modules["__main__"] module, reference is borrowed
|
||||
* note: important we use the dict from __main__, this is what python expects
|
||||
* for 'pickle' to work as well as strings like this...
|
||||
* for 'pickle' to work as well as strings like this...
|
||||
* >> foo = 10
|
||||
* >> print(__import__("__main__").foo)
|
||||
*
|
||||
|
@@ -62,7 +62,7 @@ static struct PyModuleDef gpumodule = {
|
||||
"gpu", /* name of module */
|
||||
M_gpu_doc, /* module documentation */
|
||||
-1, /* size of per-interpreter state of the module,
|
||||
* or -1 if the module keeps state in global variables. */
|
||||
* or -1 if the module keeps state in global variables. */
|
||||
NULL, NULL, NULL, NULL, NULL
|
||||
};
|
||||
|
||||
|
@@ -847,7 +847,7 @@ static PyObject *Vector_orthogonal(VectorObject *self)
|
||||
/**
|
||||
* Vector.reflect(mirror): return a reflected vector on the mirror normal.
|
||||
* <pre>
|
||||
* vec - ((2 * dot(vec, mirror)) * mirror)
|
||||
* vec - ((2 * dot(vec, mirror)) * mirror)
|
||||
* </pre>
|
||||
*/
|
||||
PyDoc_STRVAR(Vector_reflect_doc,
|
||||
@@ -1650,7 +1650,7 @@ static PyObject *Vector_isub(PyObject *v1, PyObject *v2)
|
||||
|
||||
|
||||
/**
|
||||
* column vector multiplication (Matrix * Vector)
|
||||
* Column vector multiplication (Matrix * Vector).
|
||||
* <pre>
|
||||
* [1][4][7] [a]
|
||||
* [2][5][8] * [b]
|
||||
@@ -2299,7 +2299,7 @@ static PyObject *Vector_swizzle_get(VectorObject *self, void *closure)
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the items of this vector using a swizzle.
|
||||
* Set the items of this vector using a swizzle.
|
||||
* - If value is a vector or list this operates like an array copy, except that
|
||||
* the destination is effectively re-ordered as defined by the swizzle. At
|
||||
* most min(len(source), len(dest)) values will be copied.
|
||||
|
Reference in New Issue
Block a user