Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-15BLI: Add "is_zero" method to float2 and float3 typesHans Goudey
This is not necessary, but a nice convenience to avoid using `is_zero_v3`. Differential Revision: https://developer.blender.org/D10713
2021-01-22Merge branch 'blender-v2.92-release'Jacques Lucke
2021-01-22Revert "BLI: add conversion from float2 to float3"Jacques Lucke
This reverts commit 6ac0a3d83c8e5a39bd5356aa0d68e3166bd91e82.
2021-01-22Merge branch 'blender-v2.92-release'Jacques Lucke
2021-01-22BLI: add conversion from float2 to float3Jacques Lucke
Previously float2 was converted to float3 by implicitly converting to a float pointer first, which was then passed to the float3 constructor. This leads to uninitialized memory in the z component of the new float3.
2021-01-14Geometry Nodes: add implicit conversions for float2 and othersJacques Lucke
Some of these conversions are arbitrary to some degree. However, the user experience is better when at least something happens when converting between types, instead of just getting zeros. I left out a few conversions that I wasn't sure about yet. I also added conversions for float2.
2021-01-11BLI: fix math operationJacques Lucke
That fixes a stupid mistake of mine that was copied a couple of times.
2020-12-02Functions: add float2 cpp typeJacques Lucke
This also adds a hash function for `float2`, because `CPPType` expects that currently.
2020-08-28Merge newboolean branch into master.Howard Trickey
This is for design task T67744, Boolean Redesign. It adds a choice of solver to the Boolean modifier and the Intersect (Boolean) and Intersect (Knife) tools. The 'Fast' choice is the current Bmesh boolean. The new 'Exact' choice is a more advanced algorithm that supports overlapping geometry and uses more robust calculations, but is slower than the Fast choice. The default with this commit is set to 'Exact'. We can decide before the 2.91 release whether or not this is the right choice, but this choice now will get us more testing and feedback on the new code.
2020-08-07Code Style: use "#pragma once" in source directoryJacques Lucke
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466
2020-07-09BLI: add more operator overloads for float2Jacques Lucke
2020-07-08BLI: add comparison operators and hash functions for float3, etc.Jacques Lucke
2020-06-09BLI: put C++ data structures in "blender" namespace instead of "BLI"Jacques Lucke
We plan to use the "blender" namespace in other modules as well.
2020-04-21BLI: add float2, float3, float4x4, Color4f and Color4bJacques Lucke
Reviewers: brecht, campbellbarton, sergey Differential Revision: https://developer.blender.org/D7450