| Deutsch English Français Italiano |
|
<877cerxlb7.fsf@bsb.me.uk> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Ben Bacarisse <ben@bsb.me.uk>
Newsgroups: comp.lang.c
Subject: Re: "undefined behavior"?
Date: Fri, 14 Jun 2024 22:32:12 +0100
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <877cerxlb7.fsf@bsb.me.uk>
References: <666a095a$0$952$882e4bbb@reader.netnews.com>
<8t3k6j5ikf5mvimvksv2t91gbt11ljdfgb@4ax.com>
<666a18de$0$958$882e4bbb@reader.netnews.com>
<87y1796bfn.fsf@nosuchdomain.example.com>
<666a2a30$0$952$882e4bbb@reader.netnews.com>
<87tthx65qu.fsf@nosuchdomain.example.com>
<v4dtlt$23m6i$1@dont-email.me> <NoEaO.2646$J8n7.2264@fx12.iad>
<v4fc5j$2cksu$1@dont-email.me> <v4ff97$2d8l1$1@dont-email.me>
<87o784xusf.fsf@bsb.me.uk> <v4g7i3$2icc2$1@dont-email.me>
<87ikybycj6.fsf@bsb.me.uk> <v4i3av$30hof$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 14 Jun 2024 23:32:13 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="857528a8b109889a6f438cbb5df2d776";
logging-data="3217185"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/3cDQU+7Fda+JEv1D98yBz/Xh3yWEfTy4="
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:/YoLko/WxNYLSlEiqQ6vvYjh4yM=
sha1:x6GlXoEY9jzOZ9u38JSE6+V/gdE=
X-BSB-Auth: 1.7417a1812532da93fe48.20240614223212BST.877cerxlb7.fsf@bsb.me.uk
Bytes: 1879
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> writes:
> Fwiw, I remember doing a channel based hit map that stored an image using
> RGBA but used floats. Each pixel would have a hit:
>
> struct hit
> {
> float m_color[4];
> };
>
> It would take all of the hits and depending on what was going on during
> iteration it would increment parts of hit::m_color[4].
Not in C you didn't!
--
Ben.