Commit 88cbf7a0 authored by Edward Vigmond's avatar Edward Vigmond
Browse files

Ooops. Forgot these.

parent 5941f260
#ifndef LINKMESSAGES_H
#define LINKMESSAGES_H
#include <Quaternion.h>
#include <Vector3D.h>
namespace LinkMessage {
struct CommandMsg {
long mtype;
int senderPid;
int receiverPid;
char command[20];
int sliderTime;
struct TrackBallState{
float scale;
V3f trans;
V3f origin;
Quaternion qSpin;
Quaternion qRot;
} trackballState;
};
const char* const LINK_COMMAND_LINK = "link";
const char* const LINK_COMMAND_UNLINK = "unlink";
const char* const LINK_COMMAND_VIEWPORT_SYNC = "viewport sync";
const char* const LINK_COMMAND_LINK_SYNC = "link sync";
}
#endif
......@@ -3,7 +3,7 @@ HOSTMACHINE := $(shell uname)
FLTK_INC := $(shell fltk-config --use-gl --cxxflags)
FLTK_LD_FLAGS := $(shell fltk-config --use-images --use-gl --ldflags)
COMMON_LIBS = -lpng -lpthread -lm -lz
COMMON_INC = -I. -O0 -g -DOBJ_CLASS -D_REENTRANT -MMD -DNOMINMAX
COMMON_INC = -I. -O3 -g -DOBJ_CLASS -D_REENTRANT -MMD -DNOMINMAX
ifeq ($(HOSTMACHINE),Darwin)
LIBS = $(FLTK_LD_FLAGS) $(COMMON_LIBS)
......
sync-icon.png

710 Bytes

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment