• annoing error - ai blames c (and probably is right)

    From fir@3:633/10 to All on Mon Nov 2 20:20:39 2026
    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


    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From fir@3:633/10 to All on Mon Nov 2 20:34:36 2026
    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

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)