Subject:
|
Re: Spot the bug
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Mon, 4 Mar 2002 15:29:12 GMT
|
Viewed:
|
381 times
|
| |
| |
In lugnet.cad.dev, Erik Olson writes:
> for (int i=0; j<4; j++)
Use i i.s.o. j - it's easy when you know where to look ;-)
> So, BrickDraw3D has working OpenGL rendering mode now.
Wish I could see it...
/Lars
|
|
Message is in Reply To:
| | Spot the bug
|
| In this bit of code I wrote months ago, I finally discovered the bug. Or two. Can you? if (mRendererType->IsGL()) { // different 4x4 matrix convention requires transpose GLfloat m[16]; for (int j=0; j<4; j++) { for (int i=0; j<4; j++) { m[i*4+j] = (...) (23 years ago, 4-Mar-02, to lugnet.cad.dev)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|