🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by fir Mon, 02 Nov 2026 19:20
annoing error - ai blames c (and probably is right)
#1266
Author: fir
Date: Mon, 02 Nov 2026 19:20
22 lines
1714 bytes
i got terribbly annoying error

i got a function

inline void FillDepthTriangle3D_Camera_blend(float3 a,float3 b,float3 
c,unsigned color, float blend) {}


and i just call it

FillDepthTriangle3D_Camera_blend(a,b,c,color, 0.5f);


and in the function value of blend is 0

now thats crazy shit



more worse it cost me one hour debig session until i reversed back to it 
becouse i woul never imagined this can happen
Re: annoing error - ai blames c (and probably is right)
#1267
Author: fir
Date: Mon, 02 Nov 2026 19:34
28 lines
2047 bytes
fir pisze:
> i got terribbly annoying error
> 
> i got a function
> 
> inline void FillDepthTriangle3D_Camera_blend(float3 a,float3 b,float3 
> c,unsigned color, float blend) {}
> 
> 
> and i just call it
> 
> FillDepthTriangle3D_Camera_blend(a,b,c,color, 0.5f);
> 
> 
> and in the function value of blend is 0
> 
> now thats crazy shit
> 
> 
> 
> more worse it cost me one hour debig session until i reversed back to it 
> becouse i woul never imagined this can happen
> 

note for most years in my life i used c in c++ mode..i used pure c on 
teh begining of my  way liak ein early 2000th and then c in c++ mode
recently i get back to pure c via gcc and generally it was ok but such
things are hard to stand
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads