Page MenuHome

New math function to add small bias to zero axis
ClosedPublic

Authored by Antonio Vazquez (antoniov) on Oct 5 2022, 5:46 PM.

Details

Summary

In some situations the zero axis can produce problems and need to add a small bias.

This function adds a small bias using the orthogonal result of the other valid axis.

Diff Detail

Repository
rB Blender
Branch
temp-new-math-bias (branched from master)
Build Status
Buildable 24129
Build 24129: arc lint + arc unit

Event Timeline

Antonio Vazquez (antoniov) requested review of this revision.Oct 5 2022, 5:46 PM
Antonio Vazquez (antoniov) created this revision.

@Hans Goudey (HooglyBoogly) Do you think function name is ok? do you have a better name?

source/blender/blenlib/intern/math_matrix.c
3121–3123

Could go as far as making the comparisons here.

source/blender/blenlib/intern/math_matrix.c
3121–3123

What do you mean?

source/blender/blenlib/intern/math_matrix.c
3121–3123
  • Fix review comments
This revision is now accepted and ready to land.Oct 5 2022, 10:08 PM