Age | Commit message (Collapse) | Author |
|
This takes a face and an edge-net, splitting the face into regions
defined by the edge-net.
|
|
also prevent reading from BM_ELEM_API_FLAG_ get/setters
|
|
build the matrix directly rather then calculating with axis/angle
also remove unused function calc_poly_plane
|
|
|
|
|
|
ensured to be available,
use internal apiflag instead, Thanks to Nicholas Bishop for spotting.
also quiet some warnings.
|
|
being padded up anyway, added static assert to make sure it stays <=16 bytes.
|
|
that checks for the vertex not matching either of the edges verts.
|
|
running BM_CHECK_ELEMENT was taking over 75% of the time to subdivide a mesh, since this only reports errors, and is so slow - only run this on non-release builds.
|
|
bad bug where vertices could be in a face more then once (which isn't allowed), now check for this when creating a face.
|
|
|
|
C: BM_face_calc_area(f), Py: BMFace.calc_area()
|
|
|
|
- remove unused vars
- no need to hard code version number for collada.
- cleanup some typos in comments.
- movieclip_calc_length was passing arg which should be unsigned to BLI_stringdec()
|
|
also removed private face normal update functions - they were same as public.
|
|
- BM_mesh_normals_update was looping over all faces to find the largest one, this is no longer needed.
- calculating a face normal was looping over every faces corners twice, now only once - using the loops directly (not an iterator).
- face vert locations were being copied an array, now use directly.
- calculating the normals would copy a float vector for the next point in the face, which was never used (only current and previous used).
- was copying vectors to compute the normal, now just assign the float pointers.
|
|
added some missing functions too - which are not used yep but should be there for api completeness.
* CDDM_set_mloop
* CDDM_set_mpoly
* BLI_mempool_count
|
|
Some function comments were in headers, some in the C files, some in both.
Moved function comments from headers into the C files.
|
|
- bmesh_newcore.c -> bmesh_core.c.
- add bmesh_interp header.
|
|
* remove unneeded struct's from headers.
* give argument names for return ** pointers r_ prefix.
|
|
|
|
|
|
* change BMO_elem_flag_* defines to inline functions.
* BMO_slot_map_insert() is too big for an inline function - un-inline it.
* remove redundant casts.
|
|
|