* Style fixes (pointer style)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33922 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2ec4a3b13f
commit
f7ace4e827
|
@ -81,7 +81,7 @@ RenderView::_StopRenderThread()
|
||||||
|
|
||||||
|
|
||||||
int32
|
int32
|
||||||
RenderView::_RenderThreadEntry(void *pointer)
|
RenderView::_RenderThreadEntry(void* pointer)
|
||||||
{
|
{
|
||||||
return reinterpret_cast<RenderView*>(pointer)->_RenderLoop();
|
return reinterpret_cast<RenderView*>(pointer)->_RenderLoop();
|
||||||
}
|
}
|
||||||
|
@ -134,7 +134,7 @@ void RenderView::_InitGL(void)
|
||||||
void
|
void
|
||||||
RenderView::_CreateScene()
|
RenderView::_CreateScene()
|
||||||
{
|
{
|
||||||
Texture *texture = new BitmapTexture(
|
Texture* texture = new BitmapTexture(
|
||||||
BTranslationUtils::GetBitmap(B_PNG_FORMAT, "texture"));
|
BTranslationUtils::GetBitmap(B_PNG_FORMAT, "texture"));
|
||||||
|
|
||||||
float spacing = 1.6f;
|
float spacing = 1.6f;
|
||||||
|
@ -143,7 +143,7 @@ RenderView::_CreateScene()
|
||||||
float zOffset = -16;
|
float zOffset = -16;
|
||||||
|
|
||||||
Mesh* mesh = new StaticMesh("LetterH");
|
Mesh* mesh = new StaticMesh("LetterH");
|
||||||
MeshInstance *instance = new MeshInstance(mesh, texture,
|
MeshInstance* instance = new MeshInstance(mesh, texture,
|
||||||
Vector3(-3.6 * spacing, yOffset, zOffset),
|
Vector3(-3.6 * spacing, yOffset, zOffset),
|
||||||
Quaternion(0, 0, 0, 1), 0.0f);
|
Quaternion(0, 0, 0, 1), 0.0f);
|
||||||
fMeshInstances.push_back(instance);
|
fMeshInstances.push_back(instance);
|
||||||
|
|
|
@ -35,7 +35,7 @@ protected:
|
||||||
bool _Render();
|
bool _Render();
|
||||||
uint32 _CreateRenderThread();
|
uint32 _CreateRenderThread();
|
||||||
void _StopRenderThread();
|
void _StopRenderThread();
|
||||||
static int32 _RenderThreadEntry(void *pointer);
|
static int32 _RenderThreadEntry(void* pointer);
|
||||||
int32 _RenderLoop();
|
int32 _RenderLoop();
|
||||||
|
|
||||||
Camera* fMainCamera;
|
Camera* fMainCamera;
|
||||||
|
|
Loading…
Reference in New Issue