Age | Commit message (Collapse) | Author |
|
Avoid noisy diff's & conflicts.
|
|
Also rename START to BEGIN (matching BEGIN/END for most iterator macros).
|
|
Also use sculpt prefix for SCULPT_CLAY_STABILIZER_LEN.
|
|
Code quality: Enable SortedIncludes in .clang-format
This patch does not include a `make format`, which will follow suit.
Differential Revision: D6811
|
|
This is so the '{' will be on the same line for those as well.
Reviewers: JacquesLucke
Differential Revision: https://developer.blender.org/D5903
|
|
This commit adds some new hashing based data structures to blenlib.
All of them use open addressing with probing currently.
Furthermore, they support small object optimization, but it is not
customizable yet. I'll add support for this when necessary.
The following main data structures are included:
**Set**
A collection of values, where every value must exist at most once.
This is similar to a Python `set`.
**SetVector**
A combination of a Set and a Vector. It supports fast search for
elements and maintains insertion order when there are no deletes.
All elements are stored in a continuous array. So they can be
iterated over using a normal `ArrayRef`.
**Map**
A set of key-value-pairs, where every key must exist at most once.
This is similar to a Python `dict`.
**StringMap**
A special map for the case when the keys are strings. This case is
fairly common and allows for some optimizations. Most importantly,
many unnecessary allocations can be avoided by storing strings in
a single buffer. Furthermore, the interface of this class uses
`StringRef` to avoid unnecessary conversions.
This commit is a continuation of rB369d5e8ad2bb7.
|
|
Add Multiply, Divide, Project, Reflect, Distance, Length, Scale, Snap,
Floor, Ceil, Modulo, Fraction, Absolute, Minimum, and Maximum operators
to the Vector Math node. The Value output has been removed from operators
whose output is a vector, and the other way around. All of those removals
has been handled properly in versioning code.
The patch doesn't include tests for the new operators. Tests will be added
in a later patch.
Reviewers: brecht, JacquesLucke
Differential Revision: https://developer.blender.org/D5523
|
|
T68035 by @luzpaz
|
|
|
|
This isn't used for looping.
|
|
|
|
|
|
Disabled for now but corrects syntax when we switch to v8.
|
|
Prepare for applying clang-format, see: T53211
|