Re: init
- From: August Karlstrom <fusionfive@xxxxxxxxx>
- Date: Sun, 26 Feb 2006 16:15:26 GMT
Marius Huse Jacobsen wrote:
[snip]<bob@xxxxxxxxxxxxxx> wrote:why won't this work?
float boxcenter[3];
if (nodectr == 0)
boxcenter = {centerpt[0] + halfwidth/2.0, centerpt[1] + halfwidth/2.0,
Btw, aren't you allocating 4 floats in that array? The case where the last one is not to be used I believe is zero-terminated strings.
(Too long since I've been using arrays, can anyone confirm that?)
The number in the array declaration is presumably its length, but we can't know for sure since Bob hasn't told us which language he uses. ;-)
August
--
I am the "ILOVEGNU" signature virus. Just copy me to your
signature. This email was infected under the terms of the GNU
General Public License.
.
- Prev by Date: Re: proportionality problem
- Next by Date: Re: Graph optimization
- Previous by thread: Re: init
- Next by thread: Re: init
- Index(es):