http://www.purebasic.cn/files/20080410/mmEngine3D.zipIntroductionWelcome to mmEngine3D Light, one of the fastest and most powerful engines based on DirectX 7. It is very easy to work with the engine. The archive contains a little demonstration which will help you to become familiar with basic commands and understand the main principle of the engine's work.Let's take the LoadMesh command as an example of how all other commands are described in the present help file.LoadMesh_.L ( file.S, [parent.L=0] )- the name of a command always ends with the underscore symbol ( "_" ) - the name is followed by type identifier of the return-value (.L). If type identifier is omitted, as in WireFrame_ ( mode.L ), there is no return-value - if a command has input parameters, they are separated by comma; each parameter is followed by point and type identifier - default parameters are given in brackets ( [parent.L=0] ) and may be omitted in the function call (if the programming language you use supports this feature) There are several data types used in command descriptions:L - Integer (Long in PureBasic): integer number, 4 bytes F - Float: fractional number, 4 bytes (floating point value) S - String: a "C-style" string, i.e. ended with zero code ( '\0' ) W - Word: integer number, 2 bytes B - Byte: integer number, 1 byte The examples show how to use most of the basic commands. All the examples are written using "BASIC-style", making the code easier to understand.Attention! The underscore symbol in command names is omitted in the examples only to increase their readability. The use of the underscore symbol is necessary when writing your own programs.We wish you good luck in developing fine and interesting graphic applications!www.amt-lab.com support team
Link URL: http://www.purebasic.cn/default.asp?id=41
Link URL: http://www.purebasic.cn/default.asp?id=41
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11565574/viewspace-364497/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/11565574/viewspace-364497/