~petr-kubanek/stellarium/stellarium

« back to all changes in this revision

Viewing changes to plugins/Scenery3d/src/Line.hpp

  • Committer: Georg Zotti
  • Date: 2017-05-16 11:21:44 UTC
  • mfrom: (8454.1.100 SoCiS2016)
  • Revision ID: georg.zotti@univie.ac.at-20170516112144-mckvrgf8acksrghd
Merge-in SoCiS2016: Irregular solar system objects, RemoteSync plugin, Scenery3D improvements. Big merge, and raises Qt requirement to Qt5.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Stellarium Scenery3d Plug-in
3
 
 *
4
 
 * Copyright (C) 2011 Simon Parzer, Peter Neubauer, Georg Zotti, Andrei Borza
5
 
 *
6
 
 * This program is free software; you can redistribute it and/or
7
 
 * modify it under the terms of the GNU General Public License
8
 
 * as published by the Free Software Foundation; either version 2
9
 
 * of the License, or (at your option) any later version.
10
 
 *
11
 
 * This program is distributed in the hope that it will be useful,
12
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 * GNU General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU General Public License
17
 
 * along with this program; if not, write to the Free Software
18
 
 * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA  02110-1335, USA.
19
 
 */
20
 
 
21
 
#ifndef _LINE_HPP_
22
 
#define _LINE_HPP_
23
 
 
24
 
#include "VecMath.hpp"
25
 
 
26
 
class Line
27
 
{
28
 
public:
29
 
        Line(const Vec3f &p, const Vec3f &dir);
30
 
 
31
 
        Vec3f startPoint;
32
 
        Vec3f endPoint;
33
 
        Vec3f direction;
34
 
 
35
 
        //Get the new point at val
36
 
        Vec3f getPoint(float val);
37
 
 
38
 
private:
39
 
 
40
 
};
41
 
 
42
 
#endif