move shaders to .glsl files and stringify to .h file.
add crude screenshot facility (using F1 key), it can also be used for debugging start with shadows using shadowmap, not working yet add experimental 'ignore' body index in raycast, using b3HitInfo.m_m_hitResult2
This commit is contained in:
@@ -105,12 +105,19 @@ typedef struct
|
||||
|
||||
} b3OpenCLDeviceInfo;
|
||||
|
||||
typedef struct
|
||||
struct b3OpenCLPlatformInfo
|
||||
{
|
||||
char m_platformVendor[B3_MAX_STRING_LENGTH];
|
||||
char m_platformName[B3_MAX_STRING_LENGTH];
|
||||
char m_platformVersion[B3_MAX_STRING_LENGTH];
|
||||
} b3OpenCLPlatformInfo;
|
||||
|
||||
b3OpenCLPlatformInfo()
|
||||
{
|
||||
m_platformVendor[0]=0;
|
||||
m_platformName[0]=0;
|
||||
m_platformVersion[0]=0;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
///C++ API for OpenCL utilities: convenience functions
|
||||
|
||||
Reference in New Issue
Block a user