• Single point line (two verteces on top of each other) = NO POINT DRAWN

    From Skybuck Flying@21:1/5 to All on Sat Apr 30 08:44:32 2022
    Code is currently:

    with TOpenGLAPIVersion110 do
    begin
    // render ray
    glLineWidth( 1 );
    glBegin(GL_LINES);

    // begin of ray is dark gray
    glColor3f( 0.25, 0.25, 0.25 );
    glVertex2f( mRay.Start.X, mRay.Start.Y);

    glColor3f( 0.75, 0.75, 0.75 );
    glVertex2f( mRay.Stop.X, mRay.Stop.Y);

    glEnd();
    end;

    When x,y,z coordinates of Ray.Start is equal to those of Ray.Stop OpenGL does not draw a "point".

    Why is this ?

    Are the end points of lines "not inclusive" ?

    Bye,
    Skybuck.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)