~ubuntu-branches/ubuntu/quantal/mesa/quantal

« back to all changes in this revision

Viewing changes to src/mesa/main/macros.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-02-21 12:44:07 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20070221124407-rgcacs32mycrtadl
ImportĀ upstreamĀ versionĀ 6.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
/*
7
7
 * Mesa 3-D graphics library
8
 
 * Version:  6.5
 
8
 * Version:  6.5.2
9
9
 *
10
 
 * Copyright (C) 1999-2005  Brian Paul   All Rights Reserved.
 
10
 * Copyright (C) 1999-2006  Brian Paul   All Rights Reserved.
11
11
 *
12
12
 * Permission is hereby granted, free of charge, to any person obtaining a
13
13
 * copy of this software and associated documentation files (the "Software"),
511
511
      (DST)[1] += S;                \
512
512
} while (0)
513
513
 
514
 
 
 
514
/** Assign scalers to short vectors */
 
515
#define ASSIGN_2V( V, V0, V1 )  \
 
516
do {                            \
 
517
    V[0] = V0;                  \
 
518
    V[1] = V1;                  \
 
519
} while(0)
 
520
 
 
521
/*@}*/
 
522
 
 
523
 
 
524
/** \name Linear interpolation macros */
 
525
/*@{*/
515
526
 
516
527
/**
517
528
 * Linear interpolation
585
596
   }                                    \
586
597
} while(0)
587
598
 
588
 
 
589
 
 
590
 
/** Assign scalers to short vectors */
591
 
#define ASSIGN_2V( V, V0, V1 )  \
592
 
do {                \
593
 
    V[0] = V0;          \
594
 
    V[1] = V1;          \
595
 
} while(0)
596
 
 
597
599
/*@}*/
598
600
 
599
601