Hey.
I can't see any problems, but I just looking, I thought it was redundant to include the condition ( ! isHelmet00 ) with the else-if block.
Probably better to put a comment there instead. Otherwise you'd be wasting CPU cycles where you're doing logic checks on the obvious: What isn't ...
Search found 6 matches
- Wed Aug 15, 2007 11:20 am
- Forum: Beginners Help
- Topic: Best way to switch between children?
- Replies: 11
- Views: 1282
- Thu Aug 02, 2007 9:38 am
- Forum: Beginners Help
- Topic: My own Grid3DSceneNode always rendering behind IMeshes
- Replies: 5
- Views: 1083
- Wed Aug 01, 2007 12:13 pm
- Forum: Beginners Help
- Topic: My own Grid3DSceneNode always rendering behind IMeshes
- Replies: 5
- Views: 1083
My own Grid3DSceneNode always rendering behind IMeshes
Hi there.
My problem is, I've created my Grid3DSceneNode, whose code is below...
#ifndef GRID3DSCENENODE_H_
#define GRID3DSCENENODE_H_
#include <irrlicht.h>
using namespace irr;
class Grid3DSceneNode : public irr::scene::ISceneNode
{
public:
//constructor takes three ints, the position of the ...
My problem is, I've created my Grid3DSceneNode, whose code is below...
#ifndef GRID3DSCENENODE_H_
#define GRID3DSCENENODE_H_
#include <irrlicht.h>
using namespace irr;
class Grid3DSceneNode : public irr::scene::ISceneNode
{
public:
//constructor takes three ints, the position of the ...
- Sun May 27, 2007 6:24 pm
- Forum: Beginners Help
- Topic: Coloured cubes
- Replies: 4
- Views: 369
- Sun May 27, 2007 5:29 pm
- Forum: Beginners Help
- Topic: Coloured cubes
- Replies: 4
- Views: 369
- Sun May 27, 2007 2:13 pm
- Forum: Beginners Help
- Topic: Coloured cubes
- Replies: 4
- Views: 369
Coloured cubes
Hello!!
As you can see, I'm really new to Irrlicht, and fairly new to C++, in fact, yet not new to programming.
I'm trying to make a 3D Tetris game with irrlicht, something simple to start me off, ya know :)
So, for Tetris, obviously I need coloured blocks. I have my own funky beveled block I ...
As you can see, I'm really new to Irrlicht, and fairly new to C++, in fact, yet not new to programming.
I'm trying to make a 3D Tetris game with irrlicht, something simple to start me off, ya know :)
So, for Tetris, obviously I need coloured blocks. I have my own funky beveled block I ...