add Tutorial.cpp files
load textured sphere8.obj by default as a test tiny_obj_loader don't crash when mtl is not found fix camera perspectives for some examples
This commit is contained in:
@@ -5,10 +5,11 @@
|
||||
|
||||
#include "../CommonInterfaces/CommonExampleInterface.h"
|
||||
#include "LinearMath/btTransform.h"
|
||||
#include "stb_image/stb_image.h"
|
||||
|
||||
#include "../CommonInterfaces/CommonGUIHelperInterface.h"
|
||||
|
||||
#include "stb_image/stb_image.h"
|
||||
|
||||
struct LWPose
|
||||
{
|
||||
btVector3 m_worldPosition;
|
||||
@@ -227,7 +228,7 @@ public:
|
||||
|
||||
virtual void resetCamera()
|
||||
{
|
||||
float dist = 3.5;
|
||||
float dist = 10.5;
|
||||
float pitch = 136;
|
||||
float yaw = 32;
|
||||
float targetPos[3]={0,0,0};
|
||||
|
||||
Reference in New Issue
Block a user