Welcome to PGD
If this is your first visit, be sure to check out the FAQ by clicking the link above. You have to register before you can post.
If you have recently signed up, please make sure you log in so that your activity is registered. This is required for automatic promotions to work and to ensure your account is not deleted during the registration process.
AthenaOfDelphi
Since this appears to be a problem, please be aware that some areas of the site are moderated. When you post to these areas, you will be told that your post is awaiting moderation.
You will not be able to see posts that you have made that are waiting to be moderated.
Do not think that because your post has not appeared that an error has occurred. If this happens an error message will be displayed (you should note this and report it in the 'Site News/Feedback' forum.
Thanks AthenaOfDelphi
Originally Posted by Carver413 Code: TFlt4 = packed record case Integer of 0:(X,Y,Z,W:Single); 1:(S:Array [0..3] of Single); 2:(R,G,B,A:Single); 3:(X1,Y1,X2,Y2:Single); end; as I have said these record type arrays are opengl friendy you can pass them like this @Points[0] Should I use packed records for this purpose? the interweb says it has slower access performance than 'unpacked'
TFlt4 = packed record case Integer of 0:(X,Y,Z,W:Single); 1:(S:Array [0..3] of Single); 2:(R,G,B,A:Single); 3:(X1,Y1,X2,Y2:Single); end;
Forum Rules
Bookmarks