History

a few small formatting and glitch fixes

Jeffrey Ventrella committed 13 years ago

Commit 5c7fd0f1 parent f8762c52 files · +18 −37Browse files

Showing the changes to interface/src/main.cpp (1 of 2 files). Show all

Unified · Split

interface/src/main.cpp+0−6
@@ -69,7 +69,6 @@ · 68 unmodified lines
6969
7070 #include "Camera.h"
7171 #include "Avatar.h"
72−#include "AvatarRenderer.h"
7372 #include "Texture.h"
7473 #include <AgentList.h>
7574 #include <AgentTypes.h>
@@ -120,9 +119,6 @@ Avatar myAvatar(true); // The rendered avatar of oneself · 44 unmodified lines
120119 Camera myCamera; // My view onto the world (sometimes on myself :)
121120 Camera viewFrustumOffsetCamera; // The camera we use to sometimes show the view frustum from an offset mode
122121
123−
124−AvatarRenderer avatarRenderer;
125−
126122 // Starfield information
127123 char starFile[] = "https://s3-us-west-1.amazonaws.com/highfidelity/stars.txt";
128124 char starCacheFile[] = "cachedStars.txt";
@@ -720,7 +716,6 @@ void displaySide(Camera& whichCamera) { · 591 unmodified lines
720716 if (agent->getLinkedData() != NULL && agent->getType() == AGENT_TYPE_AVATAR) {
721717 Avatar *avatar = (Avatar *)agent->getLinkedData();
722718 avatar->render(0);
723− avatarRenderer.render(avatar, 0); // this will replace the above call
724719 }
725720 }
726721 agentList->unlock();
@@ -733,7 +728,6 @@ void displaySide(Camera& whichCamera) { · 6 unmodified lines
733728
734729 //Render my own avatar
735730 myAvatar.render(::lookingInMirror);
736− avatarRenderer.render(&myAvatar, lookingInMirror); // this will replace the above call
737731
738732 glPopMatrix();
739733 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t