Page MenuHome

BLI_floatX: Add most missing constructors and operator
AbandonedPublic

Authored by Clément Foucault (fclem) on Jan 6 2022, 6:14 PM.

Details

Summary

This should have no side effect.

This reverse the dependency, with float2 being needed for float3 and
so on.

This is needed for extensive usage of these types in the draw engines.

Diff Detail

Repository
rB Blender
Branch
master
Build Status
Buildable 19813
Build 19813: arc lint + arc unit

Event Timeline

Clément Foucault (fclem) requested review of this revision.Jan 6 2022, 6:14 PM
Clément Foucault (fclem) created this revision.

Fix explicit constructors and comma operator usage.

  • Remove explicit cast causing compilation errors, add array access and fix implicit cast in one spot
  • Fix wrong asserts

Looks all fine given the current design of this math library.

This revision is now accepted and ready to land.Jan 7 2022, 3:02 PM

This was abandoned in favor of D13791.