Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
18 events
when toggle format what by license comment
Sep 22, 2022 at 9:02 history edited Spektre CC BY-SA 4.0
added 2 characters in body
Sep 22, 2022 at 8:43 history edited Spektre CC BY-SA 4.0
added 1050 characters in body
Sep 22, 2022 at 8:38 history edited Spektre CC BY-SA 4.0
added 1050 characters in body
Sep 22, 2022 at 8:31 history edited Spektre CC BY-SA 4.0
added 1050 characters in body
Sep 21, 2022 at 20:33 history edited Spektre CC BY-SA 4.0
added 2 characters in body
Sep 21, 2022 at 11:15 history edited Spektre CC BY-SA 4.0
added 154 characters in body
Sep 21, 2022 at 8:11 history edited Spektre CC BY-SA 4.0
added 210 characters in body
Sep 16, 2022 at 10:09 history edited Spektre CC BY-SA 4.0
added 1298 characters in body
Oct 12, 2017 at 11:22 history edited Spektre CC BY-SA 3.0
added 63 characters in body
Oct 12, 2017 at 11:17 history edited Spektre CC BY-SA 3.0
added 63 characters in body
Oct 7, 2015 at 13:18 history edited Spektre CC BY-SA 3.0
added 24 characters in body
Mar 29, 2015 at 13:23 history edited Spektre CC BY-SA 3.0
added 2 characters in body
Mar 29, 2015 at 7:15 comment added Spektre @JohnNilsson (+1) I forget to rewrite it (nice catch) the first line is just case when bv is out of range it should be bv inside if conditions instead of t have repaired it
Mar 29, 2015 at 7:13 history edited Spektre CC BY-SA 3.0
added 2 characters in body
Mar 29, 2015 at 0:19 comment added John Nilsson I'm trying to translate your C+ code to Python, and my C++ is not that strong. Could you explain how t is initialized? If I read this code correctly t is first initialized with whatever is in that memory location when the stack frame gets allocated and then you check if that value is within the [-0.4,2.0] range and puts it at the boundary if necessary. This makes no sense to me, why not just set it to 0.0 like you do r,g,b ?
Mar 28, 2014 at 7:23 history edited Spektre CC BY-SA 3.0
added 1881 characters in body
Mar 25, 2014 at 14:42 history edited Spektre CC BY-SA 3.0
added 130 characters in body
Mar 25, 2014 at 9:57 history answered Spektre CC BY-SA 3.0