Changeset 198 in pacpusframework for trunk


Ignore:
Timestamp:
Oct 25, 2013, 11:40:51 AM (11 years ago)
Author:
Marek Kurdej
Message:

Minor fixes.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/Pacpus/PacpusTools/geodesie.h

    r162 r198  
    1515#define GEODESIE_H
    1616
     17#include "PacpusToolsConfig.h"
     18
     19//#include <boost/math/constants/constants.hpp>
    1720#include <cmath>
    1821#include <iostream>
     
    2124#include <QMatrix4x4>
    2225#include <QVector3D>
    23 
    24 #include "PacpusToolsConfig.h"
    2526
    2627namespace Geodesie {
     
    7273
    7374PACPUSTOOLS_API Matrice TransMat(const Matrice A);
    74 PACPUSTOOLS_API Matrice ProdMat(const Matrice A,const Matrice B);
    75 PACPUSTOOLS_API void Write(const Matrice A,std::ostream& out);
     75PACPUSTOOLS_API Matrice ProdMat(const Matrice A, const Matrice B);
     76PACPUSTOOLS_API void Write(const Matrice A, std::ostream & out);
    7677
    7778////////////////////////////////////////////////////////////////////////
     
    105106inline double Deg2Rad(double deg)
    106107{
    107     return deg*M_PI/180.0;
     108    return deg * M_PI / 180.0;
    108109}
    109110
    110111inline double Rad2Deg(double rad)
    111112{
    112     return rad*180.0/M_PI;
     113    return rad * 180.0 / M_PI;
    113114}
    114115
  • trunk/include/Pacpus/kernel/pacpus.h

    r196 r198  
    1717
    1818#include <Pacpus/kernel/road_time.h>
    19 
    20 /// Pi math constant
    21 ///
    22 /// @deprecated Use M_PI from \<cmath\>.
    23 #ifndef PACPUS_PI
    24 #   define PACPUS_PI       3.1415926
    25 #endif
    2619
    2720/// @def PACPUS_DEPRECATED(func)
  • trunk/src/PacpusTools/CMakeLists.txt

    r162 r198  
    9191# Build a library
    9292# ========================================
    93 pacpus_add_library(
    94     ${PROJECT_NAME} SHARED
     93pacpus_add_library(${PROJECT_NAME} SHARED
     94    ${PROJECT_HDRS}
    9595    ${PROJECT_SRCS}
    9696    ${PROJECT_MOC_SRCS}
  • trunk/src/PacpusTools/src/geodesie.cpp

    r162 r198  
    99
    1010#include <fstream>
     11
     12//using boost::math::constants::pi;
    1113
    1214#ifdef _MSC_VER
Note: See TracChangeset for help on using the changeset viewer.