Page MenuHome

Add missing maths functions to maths node: sqrt, ceil and floor.

Authored by Charlie Jolly (charlie) on Jul 12 2018, 7:04 PM.



Ceil and floor are similar to round but without the addition of 0.5. In many cases this reduces the number of maths nodes required in a nodetree.

Partly inspired by this tweet

Diff Detail

rB Blender

Event Timeline

Missed adding function to node_shader_math.c

Added node_shader_math.c fract function

This revision was not accepted when it landed; it landed in state Needs Review.Jul 13 2018, 11:00 AM
This revision was automatically updated to reflect the committed changes.