[Bf-committers] msvc 7.1+ scons : iin node_shader.c, function "round" not reconized

lguillaume lecocqguillaume at gmail.com
Wed Aug 2 08:59:27 CEST 2006


Brecht says we can use (int)(x+.5f) to change round(x) function for MSVC

2006/8/2, jean-michel soler <jmsoler at free.fr>:
>
> static void node_shader_exec_math(void *data, bNode *node, bNodeStack
> **in, bNodeStack **out)
> ...
> line 618 :   out[0]->vec[0]= round(in[0]->vec[0]);
>
> MSVC 7.1 complains and do not end the compilation .
>
> jms
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.blender.org/pipermail/bf-committers/attachments/20060802/13ab596b/attachment.htm


More information about the Bf-committers mailing list