Minor: End of Line Comments in .x Format

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Criamon
Posts: 9
Joined: Fri Mar 26, 2004 10:41 am

Minor: End of Line Comments in .x Format

Post by Criamon »

This is an example from msdn:

Mesh CubeMesh {
8; // 8 vertices.
1.000000;1.000000;-1.000000;, // Vertex 0.
-1.000000;1.000000;-1.000000;, // Vertex 1.
-1.000000;1.000000;1.000000;, // And so on.
...

Irrlicht seems to have problems with the comments at the end of the line. It complaines about a missing semicolon in the vertex area.

I am not very into the .x-Format, maybe the example of MS is wrong?

Criamon
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

Irrlicht simply doesn't know what a comment is. Yet. Sorry. :)
Post Reply