Tomoaki Kawada ebd79c0099 Change #include style
All `#include`s to other subsystem now use angle brackets, e.g., `#include <Core/Math.h>`.
2016-12-03 18:49:07 +09:00

36 lines
639 B
C++

//
// Tracer.h
// OpenSpades
//
// Created by Tomoaki Kawada on 8/30/13.
// Copyright (c) 2013 yvt.jp. All rights reserved.
//
#pragma once
#include <Core/Math.h>
#include "ILocalEntity.h"
namespace spades {
namespace client {
class Client;
class IImage;
class Tracer : public ILocalEntity {
Client *client;
IImage *image;
Vector3 startPos, dir;
float length;
float curDistance;
float visibleLength;
float velocity;
bool firstUpdate;
public:
Tracer(Client *, Vector3 p1, Vector3 p2, float bulletVel);
virtual ~Tracer();
virtual bool Update(float dt);
virtual void Render3D();
};
}
}