I was just curious as to why S3DVertex, S3DVertex2TCoords and S3dVertexTangents were all made separate structs. Wouldn't it be simpler if S3dVertex was a base class, from which the other two were derived?
For example, in the constructor for CTriangleSelector, there's a switch statement for a ...
Search found 5 matches
- Sun Jan 29, 2006 1:36 am
- Forum: Open Discussion and Dev Announcements
- Topic: Vertex types
- Replies: 1
- Views: 372
- Mon Jan 09, 2006 7:46 pm
- Forum: Bug reports
- Topic: line2d bugs
- Replies: 1
- Views: 681
line2d bugs
I seem to have stumbled across a few undefined functions in line2d.h.
intersectWith() calls both getInterSectionOfLines() and isPointBetweenPoints() , neither of which are defined elsewhere in line2d.h, nor anywhere else I can find. I searched the forum for these names and came up with a few posts ...
intersectWith() calls both getInterSectionOfLines() and isPointBetweenPoints() , neither of which are defined elsewhere in line2d.h, nor anywhere else I can find. I searched the forum for these names and came up with a few posts ...
- Sat Jan 07, 2006 9:55 pm
- Forum: Beginners Help
- Topic: No default constructor?
- Replies: 4
- Views: 467
- Sat Jan 07, 2006 2:50 pm
- Forum: Beginners Help
- Topic: No default constructor?
- Replies: 4
- Views: 467
- Sat Jan 07, 2006 7:02 am
- Forum: Beginners Help
- Topic: No default constructor?
- Replies: 4
- Views: 467
No default constructor?
I'm trying to create a sub-class of CTriangleSelector which will create an array of my own triangle3df sub-class. Essentially, all I'm doing (so far) is overriding the (IMesh* mesh, ISceneNode* node) constructor. However, when I try to compile, I get this error:
no matching function for call to ...
no matching function for call to ...