~lib2geom-hackers/lib2geom/trunk

« back to all changes in this revision

Viewing changes to values.h

  • Committer: njh
  • Date: 2006-05-22 11:50:24 UTC
  • Revision ID: svn-v4:4601daaa-0314-0410-9a8b-c964a3c23b6b:trunk/lib2geom:1
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __Geom_VALUES_H__
 
2
#define __Geom_VALUES_H__
 
3
 
 
4
/*
 
5
 * Pixel buffer rendering library
 
6
 *
 
7
 * Authors:
 
8
 *   Lauris Kaplinski <lauris@kaplinski.com>
 
9
 *
 
10
 * This code is in public domain
 
11
 */
 
12
 
 
13
#include "point.h"
 
14
 
 
15
#define Geom_EPSILON 1e-18
 
16
 
 
17
#define Geom_HUGE   1e18
 
18
#define Geom_HUGE_L (0x7fffffff)
 
19
#define Geom_HUGE_S (0x7fff)
 
20
 
 
21
/** component_vectors[i] has 1.0 at position i, and 0.0 elsewhere
 
22
    (i.e. in the other position). */
 
23
extern Geom::Point const component_vectors[2];
 
24
 
 
25
#endif
 
26
 
 
27
/*
 
28
  Local Variables:
 
29
  mode:c++
 
30
  c-file-style:"stroustrup"
 
31
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
32
  indent-tabs-mode:nil
 
33
  fill-column:99
 
34
  End:
 
35
*/
 
36
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :