mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 05:40:05 +00:00
[WIP] Suppress compiler warnings.
Visual Studio C4099: 'CommonExampleInterface': type name first seen using 'class' now seen using 'struct'.
This commit is contained in:
parent
9a99d18ca6
commit
d776f06815
@ -1273,7 +1273,7 @@ void BenchmarkDemo::exitPhysics()
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
struct CommonExampleInterface* BenchmarkCreateFunc(struct CommonExampleOptions& options)
|
CommonExampleInterface* BenchmarkCreateFunc(struct CommonExampleOptions& options)
|
||||||
{
|
{
|
||||||
return new BenchmarkDemo(options.m_guiHelper,options.m_option);
|
return new BenchmarkDemo(options.m_guiHelper,options.m_option);
|
||||||
}
|
}
|
@ -285,7 +285,7 @@ char* makeExeToBspFilename(const char* lpCmdLine)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
struct CommonExampleInterface* ImportBspCreateFunc(struct CommonExampleOptions& options)
|
CommonExampleInterface* ImportBspCreateFunc(struct CommonExampleOptions& options)
|
||||||
{
|
{
|
||||||
BspDemo* demo = new BspDemo(options.m_guiHelper);
|
BspDemo* demo = new BspDemo(options.m_guiHelper);
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CommonExampleInterface* CoordinateSystemCreateFunc(struct CommonExampleOptions& options)
|
CommonExampleInterface* CoordinateSystemCreateFunc(struct CommonExampleOptions& options)
|
||||||
{
|
{
|
||||||
return new CoordinateSystemDemo(options.m_guiHelper->getAppInterface());
|
return new CoordinateSystemDemo(options.m_guiHelper->getAppInterface());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user