OOP sucks (This is my opinion)
THOUGH i must admit that sometimes OOP or .NET features like passing an array to a functions are very handy. But better learn how to use pointers for that I think.
Compiled code is big and slow.
Some guys don't even know how to program without OOP.
Better learn how a ...
Search found 8 matches
- Tue Jun 08, 2004 11:36 pm
- Forum: General Discussion
- Topic: What will coming with PB 4.0 ??
- Replies: 13
- Views: 3217
- Thu May 13, 2004 3:45 pm
- Forum: Coding Questions
- Topic: OpenGL example for starters
- Replies: 0
- Views: 1232
OpenGL example for starters
I made an OpenGL program for noobies with perspective.
The OpenGl-Cube example with Purebasic doesn't have perspective view.
I'm just a noob myself so don't ask advanced questions.
You need Glwrapper, put it in the userlibs. You can get it here.
http://forums.purebasic.com/english/viewtopic.php?t ...
The OpenGl-Cube example with Purebasic doesn't have perspective view.
I'm just a noob myself so don't ask advanced questions.
You need Glwrapper, put it in the userlibs. You can get it here.
http://forums.purebasic.com/english/viewtopic.php?t ...
- Wed May 12, 2004 12:42 am
- Forum: Coding Questions
- Topic: Opengl Cube
- Replies: 2
- Views: 1271
- Tue May 11, 2004 7:20 pm
- Forum: Coding Questions
- Topic: Opengl Cube
- Replies: 2
- Views: 1271
Opengl Cube
The Cube in the demo isn't displayed in real 3d.
How do I add perspective to the OpenGL Cube demo in the advanced examples section?
I would like to see the code for that. Thanks
How do I add perspective to the OpenGL Cube demo in the advanced examples section?
I would like to see the code for that. Thanks
- Wed Apr 28, 2004 9:05 am
- Forum: Coding Questions
- Topic: Passing an array to a function
- Replies: 3
- Views: 1131
Passing an array to a function
I was wondering if I can pass an array to a function.
And the function must return an array.
For example I want to make a outproduct or dotproduct function
So
procedure outproduct(vecta(3),vectb(3))
code
return vect(c)
endprocedure
This doesn't work of course, but how can I do this easily?
And the function must return an array.
For example I want to make a outproduct or dotproduct function
So
procedure outproduct(vecta(3),vectb(3))
code
return vect(c)
endprocedure
This doesn't work of course, but how can I do this easily?
- Fri Apr 09, 2004 2:04 pm
- Forum: Game Programming
- Topic: sprite3d speed issues
- Replies: 7
- Views: 3205
- Fri Apr 09, 2004 11:02 am
- Forum: Game Programming
- Topic: sprite3d speed issues
- Replies: 7
- Views: 3205
- Thu Apr 08, 2004 8:08 pm
- Forum: Game Programming
- Topic: sprite3d speed issues
- Replies: 7
- Views: 3205
sprite3d speed issues
I have a question about sprite3d.
I have a starfield scrolling with about 500 stars, 32x32 pixels blended sprites
I also have about 25-50 128x128 blended sprites scrolling. i also use bilinear filtering.
Everything runs fine here. 60-75 fps
But when i increase the amount 3 times, so 1500/75-150 ...
I have a starfield scrolling with about 500 stars, 32x32 pixels blended sprites
I also have about 25-50 128x128 blended sprites scrolling. i also use bilinear filtering.
Everything runs fine here. 60-75 fps
But when i increase the amount 3 times, so 1500/75-150 ...