To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 7742
7741  |  7743
Subject: 
Re: LDGLite sketch feature (Was: Ldglite bug report)
Newsgroups: 
lugnet.cad.dev
Date: 
Sun, 25 Aug 2002 20:38:13 GMT
Viewed: 
2233 times
  
In lugnet.cad.dev, Jeremy H. Sproat writes:
What I did:
- modified function DrawPart() -- color 24 is replaced with CurColor
instead of edge_color(); switch(LinePtr->LineType) cases 3 and 4 now call
render_line_jitter() and render_line_jitter() and render_five_jitter(),
respectively (previously called render_line(), render_line(), and
render_five() )

Let's re-write that, and break it up a bit:

- modified function DrawPart()

   - color 24 is replaced with CurColor instead of edge_color(CurColor),
just like color 16

   - switch(LinePtr->LineType) cases 3 and 4 use a constant color 15

   - switch(LinePtr->LineType) cases 3 and 4 and 5 now call
render_line_jitter() and render_line_jitter() and render_five_jitter(),
respectively (previously called render_line(), render_line(), and
render_five() )

Cheers,
- jsproat



Message is in Reply To:
  Re: LDGLite sketch feature (Was: Ldglite bug report)
 
(...) I didn't add any flags, I still haven't taken the time to learn that part of the code yet. However, the only changes were to L3View.cpp, and are very straightforward. Note that this is just a proof-of-concept, and is far from being ready for (...) (22 years ago, 25-Aug-02, to lugnet.cad.dev)

63 Messages in This Thread:
















Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR