├── .gitignore ├── .project ├── README.md ├── app ├── .classpath ├── .gitignore ├── .project ├── CMakeLists.txt ├── build.gradle ├── lightweight_filtering │ ├── .gitignore │ ├── CMakeLists.txt │ ├── LICENSE │ ├── Readme.md │ ├── include │ │ └── lightweight_filtering │ │ │ ├── CoordinateTransform.hpp │ │ │ ├── FilterBase.hpp │ │ │ ├── FilterState.hpp │ │ │ ├── GIFPrediction.hpp │ │ │ ├── ModelBase.hpp │ │ │ ├── OutlierDetection.hpp │ │ │ ├── Prediction.hpp │ │ │ ├── PropertyHandler.hpp │ │ │ ├── SigmaPoints.hpp │ │ │ ├── State.hpp │ │ │ ├── TestClasses.hpp │ │ │ ├── Update.hpp │ │ │ └── common.hpp │ ├── package.xml │ └── src │ │ ├── testFilterBase.cpp │ │ ├── testGIFPrediction.cpp │ │ ├── testModelBase.cpp │ │ ├── testPrediction.cpp │ │ ├── testSigmaPoints.cpp │ │ ├── testState.cpp │ │ └── testUpdate.cpp ├── proguard-rules.pro ├── rovio │ ├── Camera.cpp │ ├── Camera.hpp │ ├── CoordinateTransform │ │ ├── FeatureOutput.hpp │ │ ├── FeatureOutputReadable.hpp │ │ ├── LandmarkOutput.hpp │ │ ├── PixelOutput.hpp │ │ ├── RovioOutput.hpp │ │ └── YprOutput.hpp │ ├── FeatureCoordinates.cpp │ ├── FeatureCoordinates.hpp │ ├── FeatureDistance.cpp │ ├── FeatureDistance.hpp │ ├── FeatureManager.hpp │ ├── FeatureStatistics.hpp │ ├── FilterStates.hpp │ ├── ImagePyramid.hpp │ ├── ImgUpdate.hpp │ ├── ImuPrediction.hpp │ ├── MultiCamera.hpp │ ├── MultilevelPatch.hpp │ ├── MultilevelPatchAlignment.hpp │ ├── Patch.hpp │ ├── PoseUpdate.hpp │ ├── RobocentricFeatureElement.hpp │ ├── RovioFilter.hpp │ ├── RovioNode.hpp │ ├── RovioScene.hpp │ ├── Scene.cpp │ ├── Scene.hpp │ ├── VelocityUpdate.hpp │ ├── ZeroVelocityUpdate.hpp │ ├── exceptions.hpp │ ├── featureTracker.hpp │ └── shaders │ │ ├── shader.fs │ │ └── shader.vs ├── src │ ├── androidTest │ │ └── java │ │ │ └── io │ │ │ └── github │ │ │ └── jinjaysnow │ │ │ └── sensedata │ │ │ └── ExampleInstrumentedTest.java │ ├── lib_tango_client_api │ │ ├── include │ │ │ └── tango_client_api.h │ │ └── lib │ │ │ ├── arm64-v8a │ │ │ └── libtango_client_api.so │ │ │ ├── armeabi-v7a │ │ │ └── libtango_client_api.so │ │ │ └── x86 │ │ │ └── libtango_client_api.so │ ├── lib_tango_support_api │ │ ├── include │ │ │ └── tango_support_api.h │ │ └── lib │ │ │ ├── arm64-v8a │ │ │ └── libtango_support_api.so │ │ │ ├── armeabi-v7a │ │ │ └── libtango_support_api.so │ │ │ └── x86 │ │ │ └── libtango_support_api.so │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── cpp │ │ │ ├── SenseDataApp.cpp │ │ │ └── SenseDataApp.h │ │ ├── java │ │ │ └── io │ │ │ │ └── github │ │ │ │ └── jinjaysnow │ │ │ │ └── sensedata │ │ │ │ ├── MainActivity.java │ │ │ │ └── TangoJniNative.java │ │ ├── jni │ │ │ └── jni_interface.cpp │ │ └── res │ │ │ ├── layout │ │ │ └── activity_main.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ └── test │ │ └── java │ │ └── io │ │ └── github │ │ └── jinjaysnow │ │ └── sensedata │ │ └── ExampleUnitTest.java ├── tango_gl │ ├── CMakeLists.txt │ ├── include │ │ └── tango-gl │ │ │ ├── axis.h │ │ │ ├── band.h │ │ │ ├── bounding_box.h │ │ │ ├── camera.h │ │ │ ├── circle.h │ │ │ ├── color.h │ │ │ ├── conversions.h │ │ │ ├── cube.h │ │ │ ├── drawable_object.h │ │ │ ├── frustum.h │ │ │ ├── gesture_camera.h │ │ │ ├── goal_marker.h │ │ │ ├── grid.h │ │ │ ├── line.h │ │ │ ├── mesh.h │ │ │ ├── meshes.h │ │ │ ├── obj_loader.h │ │ │ ├── quad.h │ │ │ ├── segment.h │ │ │ ├── segment_drawable.h │ │ │ ├── shaders.h │ │ │ ├── tango-gl.h │ │ │ ├── texture.h │ │ │ ├── trace.h │ │ │ ├── transform.h │ │ │ ├── triangle.h │ │ │ ├── util.h │ │ │ └── video_overlay.h │ └── src │ │ ├── axis.cc │ │ ├── band.cc │ │ ├── bounding_box.cc │ │ ├── camera.cc │ │ ├── circle.cc │ │ ├── conversions.cc │ │ ├── cube.cc │ │ ├── drawable_object.cc │ │ ├── frustum.cc │ │ ├── gesture_camera.cc │ │ ├── goal_marker.cc │ │ ├── grid.cc │ │ ├── line.cc │ │ ├── mesh.cc │ │ ├── meshes.cc │ │ ├── obj_loader.cc │ │ ├── quad.cc │ │ ├── segment_drawable.cc │ │ ├── shaders.cc │ │ ├── tango_gl.cc │ │ ├── texture.cc │ │ ├── trace.cc │ │ ├── transform.cc │ │ ├── triangle.cc │ │ ├── util.cc │ │ └── video_overlay.cc └── third_party │ ├── glm │ ├── CTestConfig.cmake │ ├── cmake │ │ └── GNUInstallDirs.cmake │ ├── copying.txt │ ├── doc │ │ ├── api │ │ │ ├── a00002.html │ │ │ ├── a00004_source.html │ │ │ ├── a00005_source.html │ │ │ ├── a00006_source.html │ │ │ ├── a00007.html │ │ │ ├── a00007_source.html │ │ │ ├── a00008_source.html │ │ │ ├── a00009_source.html │ │ │ ├── a00010_source.html │ │ │ ├── a00011.html │ │ │ ├── a00011_source.html │ │ │ ├── a00012.html │ │ │ ├── a00012_source.html │ │ │ ├── a00013_source.html │ │ │ ├── a00014.html │ │ │ ├── a00014_source.html │ │ │ ├── a00015.html │ │ │ ├── a00015_source.html │ │ │ ├── a00016.html │ │ │ ├── a00016_source.html │ │ │ ├── a00017.html │ │ │ ├── a00017_source.html │ │ │ ├── a00018.html │ │ │ ├── a00018_source.html │ │ │ ├── a00019.html │ │ │ ├── a00019_source.html │ │ │ ├── a00020_source.html │ │ │ ├── a00021.html │ │ │ ├── a00021_source.html │ │ │ ├── a00022.html │ │ │ ├── a00022_source.html │ │ │ ├── a00023_source.html │ │ │ ├── a00024.html │ │ │ ├── a00024_source.html │ │ │ ├── a00025.html │ │ │ ├── a00025_source.html │ │ │ ├── a00026_source.html │ │ │ ├── a00027.html │ │ │ ├── a00027_source.html │ │ │ ├── a00028.html │ │ │ ├── a00028_source.html │ │ │ ├── a00029.html │ │ │ ├── a00029_source.html │ │ │ ├── a00030.html │ │ │ ├── a00030_source.html │ │ │ ├── a00031.html │ │ │ ├── a00031_source.html │ │ │ ├── a00032_source.html │ │ │ ├── a00033_source.html │ │ │ ├── a00034_source.html │ │ │ ├── a00035_source.html │ │ │ ├── a00036_source.html │ │ │ ├── a00037_source.html │ │ │ ├── a00038_source.html │ │ │ ├── a00039_source.html │ │ │ ├── a00040_source.html │ │ │ ├── a00041.html │ │ │ ├── a00041_source.html │ │ │ ├── a00042.html │ │ │ ├── a00042_source.html │ │ │ ├── a00043.html │ │ │ ├── a00043_source.html │ │ │ ├── a00044.html │ │ │ ├── a00044_source.html │ │ │ ├── a00045.html │ │ │ ├── a00045_source.html │ │ │ ├── a00046_source.html │ │ │ ├── a00047.html │ │ │ ├── a00047_source.html │ │ │ ├── a00048_source.html │ │ │ ├── a00049.html │ │ │ ├── a00049_source.html │ │ │ ├── a00050.html │ │ │ ├── a00050_source.html │ │ │ ├── a00051.html │ │ │ ├── a00051_source.html │ │ │ ├── a00052_source.html │ │ │ ├── a00053_source.html │ │ │ ├── a00054_source.html │ │ │ ├── a00055_source.html │ │ │ ├── a00056_source.html │ │ │ ├── a00057_source.html │ │ │ ├── a00058_source.html │ │ │ ├── a00059.html │ │ │ ├── a00059_source.html │ │ │ ├── a00060.html │ │ │ ├── a00060_source.html │ │ │ ├── a00061_source.html │ │ │ ├── a00062.html │ │ │ ├── a00062_source.html │ │ │ ├── a00063.html │ │ │ ├── a00063_source.html │ │ │ ├── a00064.html │ │ │ ├── a00064_source.html │ │ │ ├── a00065.html │ │ │ ├── a00065_source.html │ │ │ ├── a00066.html │ │ │ ├── a00066_source.html │ │ │ ├── a00067.html │ │ │ ├── a00067_source.html │ │ │ ├── a00068.html │ │ │ ├── a00068_source.html │ │ │ ├── a00069_source.html │ │ │ ├── a00070.html │ │ │ ├── a00070_source.html │ │ │ ├── a00071.html │ │ │ ├── a00071_source.html │ │ │ ├── a00072.html │ │ │ ├── a00072_source.html │ │ │ ├── a00073.html │ │ │ ├── a00073_source.html │ │ │ ├── a00074.html │ │ │ ├── a00074_source.html │ │ │ ├── a00075.html │ │ │ ├── a00075_source.html │ │ │ ├── a00076.html │ │ │ ├── a00076_source.html │ │ │ ├── a00077.html │ │ │ ├── a00077_source.html │ │ │ ├── a00078.html │ │ │ ├── a00078_source.html │ │ │ ├── a00079.html │ │ │ ├── a00079_source.html │ │ │ ├── a00080.html │ │ │ ├── a00080_source.html │ │ │ ├── a00081.html │ │ │ ├── a00081_source.html │ │ │ ├── a00082.html │ │ │ ├── a00082_source.html │ │ │ ├── a00083.html │ │ │ ├── a00083_source.html │ │ │ ├── a00084_source.html │ │ │ ├── a00085.html │ │ │ ├── a00085_source.html │ │ │ ├── a00086.html │ │ │ ├── a00086_source.html │ │ │ ├── a00087.html │ │ │ ├── a00087_source.html │ │ │ ├── a00088.html │ │ │ ├── a00088_source.html │ │ │ ├── a00089.html │ │ │ ├── a00089_source.html │ │ │ ├── a00090.html │ │ │ ├── a00090_source.html │ │ │ ├── a00091.html │ │ │ ├── a00091_source.html │ │ │ ├── a00092.html │ │ │ ├── a00092_source.html │ │ │ ├── a00093_source.html │ │ │ ├── a00094.html │ │ │ ├── a00094_source.html │ │ │ ├── a00095.html │ │ │ ├── a00095_source.html │ │ │ ├── a00096_source.html │ │ │ ├── a00097.html │ │ │ ├── a00097_source.html │ │ │ ├── a00098.html │ │ │ ├── a00098_source.html │ │ │ ├── a00099.html │ │ │ ├── a00099_source.html │ │ │ ├── a00100.html │ │ │ ├── a00100_source.html │ │ │ ├── a00101_source.html │ │ │ ├── a00102.html │ │ │ ├── a00102_source.html │ │ │ ├── a00103.html │ │ │ ├── a00103_source.html │ │ │ ├── a00104_source.html │ │ │ ├── a00105.html │ │ │ ├── a00105_source.html │ │ │ ├── a00106.html │ │ │ ├── a00106_source.html │ │ │ ├── a00107.html │ │ │ ├── a00107_source.html │ │ │ ├── a00108_source.html │ │ │ ├── a00109_source.html │ │ │ ├── a00110.html │ │ │ ├── a00110_source.html │ │ │ ├── a00111.html │ │ │ ├── a00111_source.html │ │ │ ├── a00112.html │ │ │ ├── a00112_source.html │ │ │ ├── a00113.html │ │ │ ├── a00113_source.html │ │ │ ├── a00114.html │ │ │ ├── a00114_source.html │ │ │ ├── a00115.html │ │ │ ├── a00115_source.html │ │ │ ├── a00116.html │ │ │ ├── a00116_source.html │ │ │ ├── a00117.html │ │ │ ├── a00117_source.html │ │ │ ├── a00118_source.html │ │ │ ├── a00119_source.html │ │ │ ├── a00120_source.html │ │ │ ├── a00121_source.html │ │ │ ├── a00122_source.html │ │ │ ├── a00123_source.html │ │ │ ├── a00124_source.html │ │ │ ├── a00125_source.html │ │ │ ├── a00126_source.html │ │ │ ├── a00127_source.html │ │ │ ├── a00128_source.html │ │ │ ├── a00129_source.html │ │ │ ├── a00130_source.html │ │ │ ├── a00131_source.html │ │ │ ├── a00132.html │ │ │ ├── a00132_source.html │ │ │ ├── a00133.html │ │ │ ├── a00133_source.html │ │ │ ├── a00134_source.html │ │ │ ├── a00135_source.html │ │ │ ├── a00136_source.html │ │ │ ├── a00137_source.html │ │ │ ├── a00138_source.html │ │ │ ├── a00139.html │ │ │ ├── a00139_source.html │ │ │ ├── a00140_source.html │ │ │ ├── a00141_source.html │ │ │ ├── a00142.html │ │ │ ├── a00142_source.html │ │ │ ├── a00143.html │ │ │ ├── a00143_source.html │ │ │ ├── a00144.html │ │ │ ├── a00144_source.html │ │ │ ├── a00145.html │ │ │ ├── a00145_source.html │ │ │ ├── a00146.html │ │ │ ├── a00146_source.html │ │ │ ├── a00147.html │ │ │ ├── a00147_source.html │ │ │ ├── a00148.html │ │ │ ├── a00148_source.html │ │ │ ├── a00149.html │ │ │ ├── a00149_source.html │ │ │ ├── a00150.html │ │ │ ├── a00150_source.html │ │ │ ├── a00151.html │ │ │ ├── a00155.html │ │ │ ├── a00156.html │ │ │ ├── a00157.html │ │ │ ├── a00158.html │ │ │ ├── a00159.html │ │ │ ├── a00160.html │ │ │ ├── a00161.html │ │ │ ├── a00162.html │ │ │ ├── a00163.html │ │ │ ├── a00164.html │ │ │ ├── a00165.html │ │ │ ├── a00166.html │ │ │ ├── a00167.html │ │ │ ├── a00168.html │ │ │ ├── a00169.html │ │ │ ├── a00170.html │ │ │ ├── a00171.html │ │ │ ├── a00172.html │ │ │ ├── a00173.html │ │ │ ├── a00174.html │ │ │ ├── a00175.html │ │ │ ├── a00176.html │ │ │ ├── a00177.html │ │ │ ├── a00178.html │ │ │ ├── a00179.html │ │ │ ├── a00180.html │ │ │ ├── a00181.html │ │ │ ├── a00182.html │ │ │ ├── a00183.html │ │ │ ├── a00184.html │ │ │ ├── a00185.html │ │ │ ├── a00186.html │ │ │ ├── a00187.html │ │ │ ├── a00188.html │ │ │ ├── a00189.html │ │ │ ├── a00190.html │ │ │ ├── a00191.html │ │ │ ├── a00192.html │ │ │ ├── a00193.html │ │ │ ├── a00194.html │ │ │ ├── a00195.html │ │ │ ├── a00196.html │ │ │ ├── a00197.html │ │ │ ├── a00198.html │ │ │ ├── a00199.html │ │ │ ├── a00200.html │ │ │ ├── a00201.html │ │ │ ├── a00202.html │ │ │ ├── a00203.html │ │ │ ├── a00204.html │ │ │ ├── a00205.html │ │ │ ├── a00206.html │ │ │ ├── a00207.html │ │ │ ├── a00208.html │ │ │ ├── a00209.html │ │ │ ├── a00210.html │ │ │ ├── a00211.html │ │ │ ├── a00212.html │ │ │ ├── a00213.html │ │ │ ├── a00214.html │ │ │ ├── a00215.html │ │ │ ├── a00216.html │ │ │ ├── a00217.html │ │ │ ├── a00218.html │ │ │ ├── a00219.html │ │ │ ├── a00220.html │ │ │ ├── a00221.html │ │ │ ├── a00222.html │ │ │ ├── a00223.html │ │ │ ├── a00224.html │ │ │ ├── a00225.html │ │ │ ├── a00226.html │ │ │ ├── a00227.html │ │ │ ├── a00228.html │ │ │ ├── a00229.html │ │ │ ├── a00230.html │ │ │ ├── a00231.html │ │ │ ├── a00232.html │ │ │ ├── a00233.html │ │ │ ├── a00234.html │ │ │ ├── a00235.html │ │ │ ├── a00236.html │ │ │ ├── a00237.html │ │ │ ├── a00238.html │ │ │ ├── a00240.html │ │ │ ├── bc_s.png │ │ │ ├── bdwn.png │ │ │ ├── closed.png │ │ │ ├── dir_04e4a28b8d58785d7769817294d623f5.html │ │ │ ├── dir_4d1ca7e3aefdd5b86b5dba8da1c3d503.html │ │ │ ├── dir_6e418c18ca640a0404613de005739e2e.html │ │ │ ├── dir_89daaa151958d75313fcd89dd5f4bdb8.html │ │ │ ├── dir_8ceffd4ee35c3518d4e8bdc7e638efe8.html │ │ │ ├── dir_968fb7988749a6351e7b3d0c1783dec4.html │ │ │ ├── dir_a8d99eddac27b2368ab5252ce80ded11.html │ │ │ ├── dir_e3ecd7863bd215c92a17f47e2ae3be43.html │ │ │ ├── dir_e50778361fd4ab4de52181ed9eb2b726.html │ │ │ ├── dir_edf753475b928be648c1cf1c6443cf63.html │ │ │ ├── dir_f7324829a002c536307b42a892c06451.html │ │ │ ├── doxygen.css │ │ │ ├── doxygen.png │ │ │ ├── dynsections.js │ │ │ ├── files.html │ │ │ ├── ftv2blank.png │ │ │ ├── ftv2cl.png │ │ │ ├── ftv2doc.png │ │ │ ├── ftv2folderclosed.png │ │ │ ├── ftv2folderopen.png │ │ │ ├── ftv2lastnode.png │ │ │ ├── ftv2link.png │ │ │ ├── ftv2mlastnode.png │ │ │ ├── ftv2mnode.png │ │ │ ├── ftv2mo.png │ │ │ ├── ftv2node.png │ │ │ ├── ftv2ns.png │ │ │ ├── ftv2plastnode.png │ │ │ ├── ftv2pnode.png │ │ │ ├── ftv2splitbar.png │ │ │ ├── ftv2vertline.png │ │ │ ├── index.html │ │ │ ├── jquery.js │ │ │ ├── modules.html │ │ │ ├── namespacemembers.html │ │ │ ├── namespacemembers_0x62.html │ │ │ ├── namespacemembers_0x63.html │ │ │ ├── namespacemembers_0x64.html │ │ │ ├── namespacemembers_0x65.html │ │ │ ├── namespacemembers_0x66.html │ │ │ ├── namespacemembers_0x67.html │ │ │ ├── namespacemembers_0x68.html │ │ │ ├── namespacemembers_0x69.html │ │ │ ├── namespacemembers_0x6c.html │ │ │ ├── namespacemembers_0x6d.html │ │ │ ├── namespacemembers_0x6e.html │ │ │ ├── namespacemembers_0x6f.html │ │ │ ├── namespacemembers_0x70.html │ │ │ ├── namespacemembers_0x71.html │ │ │ ├── namespacemembers_0x72.html │ │ │ ├── namespacemembers_0x73.html │ │ │ ├── namespacemembers_0x74.html │ │ │ ├── namespacemembers_0x75.html │ │ │ ├── namespacemembers_0x76.html │ │ │ ├── namespacemembers_0x77.html │ │ │ ├── namespacemembers_0x79.html │ │ │ ├── namespacemembers_0x7a.html │ │ │ ├── namespacemembers_func.html │ │ │ ├── namespacemembers_func_0x62.html │ │ │ ├── namespacemembers_func_0x63.html │ │ │ ├── namespacemembers_func_0x64.html │ │ │ ├── namespacemembers_func_0x65.html │ │ │ ├── namespacemembers_func_0x66.html │ │ │ ├── namespacemembers_func_0x67.html │ │ │ ├── namespacemembers_func_0x68.html │ │ │ ├── namespacemembers_func_0x69.html │ │ │ ├── namespacemembers_func_0x6c.html │ │ │ ├── namespacemembers_func_0x6d.html │ │ │ ├── namespacemembers_func_0x6e.html │ │ │ ├── namespacemembers_func_0x6f.html │ │ │ ├── namespacemembers_func_0x70.html │ │ │ ├── namespacemembers_func_0x71.html │ │ │ ├── namespacemembers_func_0x72.html │ │ │ ├── namespacemembers_func_0x73.html │ │ │ ├── namespacemembers_func_0x74.html │ │ │ ├── namespacemembers_func_0x75.html │ │ │ ├── namespacemembers_func_0x76.html │ │ │ ├── namespacemembers_func_0x79.html │ │ │ ├── namespacemembers_func_0x7a.html │ │ │ ├── namespacemembers_type.html │ │ │ ├── namespacemembers_type_0x64.html │ │ │ ├── namespacemembers_type_0x66.html │ │ │ ├── namespacemembers_type_0x68.html │ │ │ ├── namespacemembers_type_0x69.html │ │ │ ├── namespacemembers_type_0x6c.html │ │ │ ├── namespacemembers_type_0x6d.html │ │ │ ├── namespacemembers_type_0x71.html │ │ │ ├── namespacemembers_type_0x73.html │ │ │ ├── namespacemembers_type_0x75.html │ │ │ ├── namespacemembers_type_0x76.html │ │ │ ├── namespacemembers_type_0x77.html │ │ │ ├── namespaces.html │ │ │ ├── nav_f.png │ │ │ ├── nav_g.png │ │ │ ├── nav_h.png │ │ │ ├── open.png │ │ │ ├── pages.html │ │ │ ├── sync_off.png │ │ │ ├── sync_on.png │ │ │ ├── tab_a.png │ │ │ ├── tab_b.png │ │ │ ├── tab_h.png │ │ │ ├── tab_s.png │ │ │ └── tabs.css │ │ ├── glm.docx │ │ ├── glm.pdf │ │ ├── logo.png │ │ ├── man.doxy │ │ ├── pages.doxy │ │ ├── theme │ │ │ ├── doxygen.css │ │ │ └── tabs.css │ │ └── ~$glm.docx │ ├── glm │ │ ├── common.hpp │ │ ├── detail │ │ │ ├── _features.hpp │ │ │ ├── _fixes.hpp │ │ │ ├── _literals.hpp │ │ │ ├── _noise.hpp │ │ │ ├── _swizzle.hpp │ │ │ ├── _swizzle_func.hpp │ │ │ ├── _vectorize.hpp │ │ │ ├── dummy.cpp │ │ │ ├── func_common.hpp │ │ │ ├── func_common.inl │ │ │ ├── func_exponential.hpp │ │ │ ├── func_exponential.inl │ │ │ ├── func_geometric.hpp │ │ │ ├── func_geometric.inl │ │ │ ├── func_integer.hpp │ │ │ ├── func_integer.inl │ │ │ ├── func_matrix.hpp │ │ │ ├── func_matrix.inl │ │ │ ├── func_noise.hpp │ │ │ ├── func_noise.inl │ │ │ ├── func_packing.hpp │ │ │ ├── func_packing.inl │ │ │ ├── func_trigonometric.hpp │ │ │ ├── func_trigonometric.inl │ │ │ ├── func_vector_relational.hpp │ │ │ ├── func_vector_relational.inl │ │ │ ├── glm.cpp │ │ │ ├── hint.hpp │ │ │ ├── intrinsic_common.hpp │ │ │ ├── intrinsic_common.inl │ │ │ ├── intrinsic_exponential.hpp │ │ │ ├── intrinsic_exponential.inl │ │ │ ├── intrinsic_geometric.hpp │ │ │ ├── intrinsic_geometric.inl │ │ │ ├── intrinsic_integer.hpp │ │ │ ├── intrinsic_integer.inl │ │ │ ├── intrinsic_matrix.hpp │ │ │ ├── intrinsic_matrix.inl │ │ │ ├── intrinsic_trigonometric.hpp │ │ │ ├── intrinsic_trigonometric.inl │ │ │ ├── intrinsic_vector_relational.hpp │ │ │ ├── intrinsic_vector_relational.inl │ │ │ ├── precision.hpp │ │ │ ├── precision.inl │ │ │ ├── setup.hpp │ │ │ ├── type_float.hpp │ │ │ ├── type_gentype.hpp │ │ │ ├── type_gentype.inl │ │ │ ├── type_half.hpp │ │ │ ├── type_half.inl │ │ │ ├── type_int.hpp │ │ │ ├── type_mat.hpp │ │ │ ├── type_mat.inl │ │ │ ├── type_mat2x2.hpp │ │ │ ├── type_mat2x2.inl │ │ │ ├── type_mat2x3.hpp │ │ │ ├── type_mat2x3.inl │ │ │ ├── type_mat2x4.hpp │ │ │ ├── type_mat2x4.inl │ │ │ ├── type_mat3x2.hpp │ │ │ ├── type_mat3x2.inl │ │ │ ├── type_mat3x3.hpp │ │ │ ├── type_mat3x3.inl │ │ │ ├── type_mat3x4.hpp │ │ │ ├── type_mat3x4.inl │ │ │ ├── type_mat4x2.hpp │ │ │ ├── type_mat4x2.inl │ │ │ ├── type_mat4x3.hpp │ │ │ ├── type_mat4x3.inl │ │ │ ├── type_mat4x4.hpp │ │ │ ├── type_mat4x4.inl │ │ │ ├── type_vec.hpp │ │ │ ├── type_vec.inl │ │ │ ├── type_vec1.hpp │ │ │ ├── type_vec1.inl │ │ │ ├── type_vec2.hpp │ │ │ ├── type_vec2.inl │ │ │ ├── type_vec3.hpp │ │ │ ├── type_vec3.inl │ │ │ ├── type_vec4.hpp │ │ │ └── type_vec4.inl │ │ ├── exponential.hpp │ │ ├── ext.hpp │ │ ├── fwd.hpp │ │ ├── geometric.hpp │ │ ├── glm.hpp │ │ ├── gtc │ │ │ ├── constants.hpp │ │ │ ├── constants.inl │ │ │ ├── epsilon.hpp │ │ │ ├── epsilon.inl │ │ │ ├── matrix_access.hpp │ │ │ ├── matrix_access.inl │ │ │ ├── matrix_integer.hpp │ │ │ ├── matrix_inverse.hpp │ │ │ ├── matrix_inverse.inl │ │ │ ├── matrix_transform.hpp │ │ │ ├── matrix_transform.inl │ │ │ ├── noise.hpp │ │ │ ├── noise.inl │ │ │ ├── packing.hpp │ │ │ ├── packing.inl │ │ │ ├── quaternion.hpp │ │ │ ├── quaternion.inl │ │ │ ├── random.hpp │ │ │ ├── random.inl │ │ │ ├── reciprocal.hpp │ │ │ ├── reciprocal.inl │ │ │ ├── type_precision.hpp │ │ │ ├── type_precision.inl │ │ │ ├── type_ptr.hpp │ │ │ ├── type_ptr.inl │ │ │ ├── ulp.hpp │ │ │ ├── ulp.inl │ │ │ └── user_defined_type.hpp │ │ ├── gtx │ │ │ ├── associated_min_max.hpp │ │ │ ├── associated_min_max.inl │ │ │ ├── bit.hpp │ │ │ ├── bit.inl │ │ │ ├── closest_point.hpp │ │ │ ├── closest_point.inl │ │ │ ├── color_space.hpp │ │ │ ├── color_space.inl │ │ │ ├── color_space_YCoCg.hpp │ │ │ ├── color_space_YCoCg.inl │ │ │ ├── common.hpp │ │ │ ├── common.inl │ │ │ ├── compatibility.hpp │ │ │ ├── compatibility.inl │ │ │ ├── component_wise.hpp │ │ │ ├── component_wise.inl │ │ │ ├── constants.hpp │ │ │ ├── dual_quaternion.hpp │ │ │ ├── dual_quaternion.inl │ │ │ ├── epsilon.hpp │ │ │ ├── euler_angles.hpp │ │ │ ├── euler_angles.inl │ │ │ ├── extend.hpp │ │ │ ├── extend.inl │ │ │ ├── extented_min_max.hpp │ │ │ ├── extented_min_max.inl │ │ │ ├── fast_exponential.hpp │ │ │ ├── fast_exponential.inl │ │ │ ├── fast_square_root.hpp │ │ │ ├── fast_square_root.inl │ │ │ ├── fast_trigonometry.hpp │ │ │ ├── fast_trigonometry.inl │ │ │ ├── gradient_paint.hpp │ │ │ ├── gradient_paint.inl │ │ │ ├── handed_coordinate_space.hpp │ │ │ ├── handed_coordinate_space.inl │ │ │ ├── inertia.hpp │ │ │ ├── inertia.inl │ │ │ ├── int_10_10_10_2.hpp │ │ │ ├── int_10_10_10_2.inl │ │ │ ├── integer.hpp │ │ │ ├── integer.inl │ │ │ ├── intersect.hpp │ │ │ ├── intersect.inl │ │ │ ├── io.hpp │ │ │ ├── io.inl │ │ │ ├── log_base.hpp │ │ │ ├── log_base.inl │ │ │ ├── matrix_cross_product.hpp │ │ │ ├── matrix_cross_product.inl │ │ │ ├── matrix_decompose.hpp │ │ │ ├── matrix_decompose.inl │ │ │ ├── matrix_interpolation.hpp │ │ │ ├── matrix_interpolation.inl │ │ │ ├── matrix_major_storage.hpp │ │ │ ├── matrix_major_storage.inl │ │ │ ├── matrix_operation.hpp │ │ │ ├── matrix_operation.inl │ │ │ ├── matrix_query.hpp │ │ │ ├── matrix_query.inl │ │ │ ├── matrix_transform_2d.hpp │ │ │ ├── matrix_transform_2d.inl │ │ │ ├── mixed_product.hpp │ │ │ ├── mixed_product.inl │ │ │ ├── multiple.hpp │ │ │ ├── multiple.inl │ │ │ ├── noise.hpp │ │ │ ├── norm.hpp │ │ │ ├── norm.inl │ │ │ ├── normal.hpp │ │ │ ├── normal.inl │ │ │ ├── normalize_dot.hpp │ │ │ ├── normalize_dot.inl │ │ │ ├── number_precision.hpp │ │ │ ├── number_precision.inl │ │ │ ├── optimum_pow.hpp │ │ │ ├── optimum_pow.inl │ │ │ ├── orthonormalize.hpp │ │ │ ├── orthonormalize.inl │ │ │ ├── perpendicular.hpp │ │ │ ├── perpendicular.inl │ │ │ ├── polar_coordinates.hpp │ │ │ ├── polar_coordinates.inl │ │ │ ├── projection.hpp │ │ │ ├── projection.inl │ │ │ ├── quaternion.hpp │ │ │ ├── quaternion.inl │ │ │ ├── random.hpp │ │ │ ├── raw_data.hpp │ │ │ ├── raw_data.inl │ │ │ ├── reciprocal.hpp │ │ │ ├── rotate_normalized_axis.hpp │ │ │ ├── rotate_normalized_axis.inl │ │ │ ├── rotate_vector.hpp │ │ │ ├── rotate_vector.inl │ │ │ ├── scalar_relational.hpp │ │ │ ├── scalar_relational.inl │ │ │ ├── simd_mat4.hpp │ │ │ ├── simd_mat4.inl │ │ │ ├── simd_quat.hpp │ │ │ ├── simd_quat.inl │ │ │ ├── simd_vec4.hpp │ │ │ ├── simd_vec4.inl │ │ │ ├── spline.hpp │ │ │ ├── spline.inl │ │ │ ├── std_based_type.hpp │ │ │ ├── std_based_type.inl │ │ │ ├── string_cast.hpp │ │ │ ├── string_cast.inl │ │ │ ├── transform.hpp │ │ │ ├── transform.inl │ │ │ ├── transform2.hpp │ │ │ ├── transform2.inl │ │ │ ├── ulp.hpp │ │ │ ├── unsigned_int.hpp │ │ │ ├── unsigned_int.inl │ │ │ ├── vec1.hpp │ │ │ ├── vec1.inl │ │ │ ├── vector_angle.hpp │ │ │ ├── vector_angle.inl │ │ │ ├── vector_query.hpp │ │ │ ├── vector_query.inl │ │ │ ├── wrap.hpp │ │ │ └── wrap.inl │ │ ├── integer.hpp │ │ ├── mat2x2.hpp │ │ ├── mat2x3.hpp │ │ ├── mat2x4.hpp │ │ ├── mat3x2.hpp │ │ ├── mat3x3.hpp │ │ ├── mat3x4.hpp │ │ ├── mat4x2.hpp │ │ ├── mat4x3.hpp │ │ ├── mat4x4.hpp │ │ ├── matrix.hpp │ │ ├── packing.hpp │ │ ├── trigonometric.hpp │ │ ├── vec2.hpp │ │ ├── vec3.hpp │ │ ├── vec4.hpp │ │ └── vector_relational.hpp │ ├── readme.txt │ ├── test │ │ ├── core │ │ │ ├── core_func_common.cpp │ │ │ ├── core_func_exponential.cpp │ │ │ ├── core_func_geometric.cpp │ │ │ ├── core_func_integer.cpp │ │ │ ├── core_func_matrix.cpp │ │ │ ├── core_func_noise.cpp │ │ │ ├── core_func_packing.cpp │ │ │ ├── core_func_swizzle.cpp │ │ │ ├── core_func_trigonometric.cpp │ │ │ ├── core_func_vector_relational.cpp │ │ │ ├── core_setup_message.cpp │ │ │ ├── core_setup_precision.cpp │ │ │ ├── core_type_cast.cpp │ │ │ ├── core_type_float.cpp │ │ │ ├── core_type_int.cpp │ │ │ ├── core_type_length.cpp │ │ │ ├── core_type_mat2x2.cpp │ │ │ ├── core_type_mat2x3.cpp │ │ │ ├── core_type_mat2x4.cpp │ │ │ ├── core_type_mat3x2.cpp │ │ │ ├── core_type_mat3x3.cpp │ │ │ ├── core_type_mat3x4.cpp │ │ │ ├── core_type_mat4x2.cpp │ │ │ ├── core_type_mat4x3.cpp │ │ │ ├── core_type_mat4x4.cpp │ │ │ ├── core_type_vec1.cpp │ │ │ ├── core_type_vec2.cpp │ │ │ ├── core_type_vec3.cpp │ │ │ └── core_type_vec4.cpp │ │ ├── external │ │ │ └── gli │ │ │ │ ├── core │ │ │ │ ├── dummy.cpp │ │ │ │ ├── generate_mipmaps.hpp │ │ │ │ ├── generate_mipmaps.inl │ │ │ │ ├── image2d.hpp │ │ │ │ ├── image2d.inl │ │ │ │ ├── operation.hpp │ │ │ │ ├── operation.inl │ │ │ │ ├── operator.hpp │ │ │ │ ├── operator.inl │ │ │ │ ├── shared_array.hpp │ │ │ │ ├── shared_array.inl │ │ │ │ ├── shared_ptr.hpp │ │ │ │ ├── shared_ptr.inl │ │ │ │ ├── size.hpp │ │ │ │ ├── size.inl │ │ │ │ ├── texture2d.hpp │ │ │ │ ├── texture2d.inl │ │ │ │ ├── texture2d_array.hpp │ │ │ │ ├── texture2d_array.inl │ │ │ │ ├── texture_cube.hpp │ │ │ │ ├── texture_cube.inl │ │ │ │ ├── texture_cube_array.hpp │ │ │ │ └── texture_cube_array.inl │ │ │ │ ├── gli.hpp │ │ │ │ └── gtx │ │ │ │ ├── compression.hpp │ │ │ │ ├── compression.inl │ │ │ │ ├── fetch.hpp │ │ │ │ ├── fetch.inl │ │ │ │ ├── gl_texture2d.hpp │ │ │ │ ├── gl_texture2d.inl │ │ │ │ ├── gradient.hpp │ │ │ │ ├── gradient.inl │ │ │ │ ├── loader.hpp │ │ │ │ ├── loader.inl │ │ │ │ ├── loader_dds10.hpp │ │ │ │ ├── loader_dds10.inl │ │ │ │ ├── loader_dds9.hpp │ │ │ │ ├── loader_dds9.inl │ │ │ │ ├── loader_tga.hpp │ │ │ │ ├── loader_tga.inl │ │ │ │ ├── wavelet.hpp │ │ │ │ └── wavelet.inl │ │ ├── glm.cppcheck │ │ ├── gtc │ │ │ ├── gtc_constants.cpp │ │ │ ├── gtc_epsilon.cpp │ │ │ ├── gtc_matrix_access.cpp │ │ │ ├── gtc_matrix_integer.cpp │ │ │ ├── gtc_matrix_inverse.cpp │ │ │ ├── gtc_matrix_transform.cpp │ │ │ ├── gtc_noise.cpp │ │ │ ├── gtc_packing.cpp │ │ │ ├── gtc_quaternion.cpp │ │ │ ├── gtc_random.cpp │ │ │ ├── gtc_reciprocal.cpp │ │ │ ├── gtc_type_precision.cpp │ │ │ ├── gtc_type_ptr.cpp │ │ │ ├── gtc_ulp.cpp │ │ │ └── gtc_user_defined_types.cpp │ │ └── gtx │ │ │ ├── gtx_associated_min_max.cpp │ │ │ ├── gtx_bit.cpp │ │ │ ├── gtx_closest_point.cpp │ │ │ ├── gtx_color_space.cpp │ │ │ ├── gtx_color_space_YCoCg.cpp │ │ │ ├── gtx_common.cpp │ │ │ ├── gtx_compatibility.cpp │ │ │ ├── gtx_component_wise.cpp │ │ │ ├── gtx_dual_quaternion.cpp │ │ │ ├── gtx_euler_angle.cpp │ │ │ ├── gtx_extend.cpp │ │ │ ├── gtx_extented_min_max.cpp │ │ │ ├── gtx_fast_exponential.cpp │ │ │ ├── gtx_fast_square_root.cpp │ │ │ ├── gtx_fast_trigonometry.cpp │ │ │ ├── gtx_gradient_paint.cpp │ │ │ ├── gtx_handed_coordinate_space.cpp │ │ │ ├── gtx_inertia.cpp │ │ │ ├── gtx_int_10_10_10_2.cpp │ │ │ ├── gtx_integer.cpp │ │ │ ├── gtx_intersect.cpp │ │ │ ├── gtx_io.cpp │ │ │ ├── gtx_log_base.cpp │ │ │ ├── gtx_matrix_cross_product.cpp │ │ │ ├── gtx_matrix_decompose.cpp │ │ │ ├── gtx_matrix_interpolation.cpp │ │ │ ├── gtx_matrix_major_storage.cpp │ │ │ ├── gtx_matrix_operation.cpp │ │ │ ├── gtx_matrix_query.cpp │ │ │ ├── gtx_matrix_transform_2d.cpp │ │ │ ├── gtx_mixed_product.cpp │ │ │ ├── gtx_multiple.cpp │ │ │ ├── gtx_norm.cpp │ │ │ ├── gtx_normal.cpp │ │ │ ├── gtx_normalize_dot.cpp │ │ │ ├── gtx_number_precision.cpp │ │ │ ├── gtx_optimum_pow.cpp │ │ │ ├── gtx_orthonormalize.cpp │ │ │ ├── gtx_perpendicular.cpp │ │ │ ├── gtx_polar_coordinates.cpp │ │ │ ├── gtx_projection.cpp │ │ │ ├── gtx_quaternion.cpp │ │ │ ├── gtx_random.cpp │ │ │ ├── gtx_rotate_normalized_axis.cpp │ │ │ ├── gtx_rotate_vector.cpp │ │ │ ├── gtx_scalar_relational.cpp │ │ │ ├── gtx_simd_mat4.cpp │ │ │ ├── gtx_simd_vec4.cpp │ │ │ ├── gtx_spline.cpp │ │ │ ├── gtx_string_cast.cpp │ │ │ ├── gtx_vector_angle.cpp │ │ │ └── gtx_vector_query.cpp │ └── util │ │ ├── FindGLM.cmake │ │ ├── autoexp.txt │ │ ├── autoexp.vc2010.dat │ │ ├── glm.natvis │ │ └── usertype.dat │ ├── libfreetype │ ├── Android.mk │ ├── Application.mk │ ├── LICENSE.txt │ ├── README │ ├── devel │ │ ├── ft2build.h │ │ └── ftoption.h │ ├── include │ │ ├── freetype │ │ │ ├── config │ │ │ │ ├── ftconfig.h │ │ │ │ ├── ftheader.h │ │ │ │ ├── ftmodule.h │ │ │ │ ├── ftoption.h │ │ │ │ └── ftstdlib.h │ │ │ ├── freetype.h │ │ │ ├── ftadvanc.h │ │ │ ├── ftbbox.h │ │ │ ├── ftbdf.h │ │ │ ├── ftbitmap.h │ │ │ ├── ftcache.h │ │ │ ├── ftchapters.h │ │ │ ├── ftcid.h │ │ │ ├── fterrdef.h │ │ │ ├── fterrors.h │ │ │ ├── ftgasp.h │ │ │ ├── ftglyph.h │ │ │ ├── ftgxval.h │ │ │ ├── ftgzip.h │ │ │ ├── ftimage.h │ │ │ ├── ftincrem.h │ │ │ ├── ftlcdfil.h │ │ │ ├── ftlist.h │ │ │ ├── ftlzw.h │ │ │ ├── ftmac.h │ │ │ ├── ftmm.h │ │ │ ├── ftmodapi.h │ │ │ ├── ftmoderr.h │ │ │ ├── ftotval.h │ │ │ ├── ftoutln.h │ │ │ ├── ftpfr.h │ │ │ ├── ftrender.h │ │ │ ├── ftsizes.h │ │ │ ├── ftsnames.h │ │ │ ├── ftstroke.h │ │ │ ├── ftsynth.h │ │ │ ├── ftsystem.h │ │ │ ├── fttrigon.h │ │ │ ├── fttypes.h │ │ │ ├── ftwinfnt.h │ │ │ ├── ftxf86.h │ │ │ ├── internal │ │ │ │ ├── autohint.h │ │ │ │ ├── ftcalc.h │ │ │ │ ├── ftdebug.h │ │ │ │ ├── ftdriver.h │ │ │ │ ├── ftgloadr.h │ │ │ │ ├── ftmemory.h │ │ │ │ ├── ftobjs.h │ │ │ │ ├── ftpic.h │ │ │ │ ├── ftrfork.h │ │ │ │ ├── ftserv.h │ │ │ │ ├── ftstream.h │ │ │ │ ├── fttrace.h │ │ │ │ ├── ftvalid.h │ │ │ │ ├── internal.h │ │ │ │ ├── pcftypes.h │ │ │ │ ├── psaux.h │ │ │ │ ├── pshints.h │ │ │ │ ├── services │ │ │ │ │ ├── svbdf.h │ │ │ │ │ ├── svcid.h │ │ │ │ │ ├── svgldict.h │ │ │ │ │ ├── svgxval.h │ │ │ │ │ ├── svkern.h │ │ │ │ │ ├── svmm.h │ │ │ │ │ ├── svotval.h │ │ │ │ │ ├── svpfr.h │ │ │ │ │ ├── svpostnm.h │ │ │ │ │ ├── svpscmap.h │ │ │ │ │ ├── svpsinfo.h │ │ │ │ │ ├── svsfnt.h │ │ │ │ │ ├── svttcmap.h │ │ │ │ │ ├── svtteng.h │ │ │ │ │ ├── svttglyf.h │ │ │ │ │ ├── svwinfnt.h │ │ │ │ │ └── svxf86nm.h │ │ │ │ ├── sfnt.h │ │ │ │ ├── t1types.h │ │ │ │ └── tttypes.h │ │ │ ├── t1tables.h │ │ │ ├── ttnameid.h │ │ │ ├── tttables.h │ │ │ ├── tttags.h │ │ │ └── ttunpat.h │ │ └── ft2build.h │ └── src │ │ ├── Jamfile │ │ ├── autofit │ │ ├── Jamfile │ │ ├── afangles.c │ │ ├── afangles.h │ │ ├── afcjk.c │ │ ├── afcjk.h │ │ ├── afdummy.c │ │ ├── afdummy.h │ │ ├── aferrors.h │ │ ├── afglobal.c │ │ ├── afglobal.h │ │ ├── afhints.c │ │ ├── afhints.h │ │ ├── afindic.c │ │ ├── afindic.h │ │ ├── aflatin.c │ │ ├── aflatin.h │ │ ├── aflatin2.c │ │ ├── aflatin2.h │ │ ├── afloader.c │ │ ├── afloader.h │ │ ├── afmodule.c │ │ ├── afmodule.h │ │ ├── afpic.c │ │ ├── afpic.h │ │ ├── aftypes.h │ │ ├── afwarp.c │ │ ├── afwarp.h │ │ ├── autofit.c │ │ ├── module.mk │ │ └── rules.mk │ │ ├── base │ │ ├── Jamfile │ │ ├── basepic.c │ │ ├── basepic.h │ │ ├── ftadvanc.c │ │ ├── ftapi.c │ │ ├── ftbase.c │ │ ├── ftbase.h │ │ ├── ftbbox.c │ │ ├── ftbdf.c │ │ ├── ftbitmap.c │ │ ├── ftcalc.c │ │ ├── ftcid.c │ │ ├── ftdbgmem.c │ │ ├── ftdebug.c │ │ ├── ftfstype.c │ │ ├── ftgasp.c │ │ ├── ftgloadr.c │ │ ├── ftglyph.c │ │ ├── ftgxval.c │ │ ├── ftinit.c │ │ ├── ftlcdfil.c │ │ ├── ftmac.c │ │ ├── ftmm.c │ │ ├── ftobjs.c │ │ ├── ftotval.c │ │ ├── ftoutln.c │ │ ├── ftpatent.c │ │ ├── ftpfr.c │ │ ├── ftpic.c │ │ ├── ftrfork.c │ │ ├── ftsnames.c │ │ ├── ftstream.c │ │ ├── ftstroke.c │ │ ├── ftsynth.c │ │ ├── ftsystem.c │ │ ├── fttrigon.c │ │ ├── fttype1.c │ │ ├── ftutil.c │ │ ├── ftwinfnt.c │ │ ├── ftxf86.c │ │ └── rules.mk │ │ ├── bdf │ │ ├── Jamfile │ │ ├── README │ │ ├── bdf.c │ │ ├── bdf.h │ │ ├── bdfdrivr.c │ │ ├── bdfdrivr.h │ │ ├── bdferror.h │ │ ├── bdflib.c │ │ ├── module.mk │ │ └── rules.mk │ │ ├── cache │ │ ├── Jamfile │ │ ├── ftcache.c │ │ ├── ftcbasic.c │ │ ├── ftccache.c │ │ ├── ftccache.h │ │ ├── ftccback.h │ │ ├── ftccmap.c │ │ ├── ftcerror.h │ │ ├── ftcglyph.c │ │ ├── ftcglyph.h │ │ ├── ftcimage.c │ │ ├── ftcimage.h │ │ ├── ftcmanag.c │ │ ├── ftcmanag.h │ │ ├── ftcmru.c │ │ ├── ftcmru.h │ │ ├── ftcsbits.c │ │ ├── ftcsbits.h │ │ └── rules.mk │ │ ├── cff │ │ ├── Jamfile │ │ ├── cff.c │ │ ├── cffcmap.c │ │ ├── cffcmap.h │ │ ├── cffdrivr.c │ │ ├── cffdrivr.h │ │ ├── cfferrs.h │ │ ├── cffgload.c │ │ ├── cffgload.h │ │ ├── cffload.c │ │ ├── cffload.h │ │ ├── cffobjs.c │ │ ├── cffobjs.h │ │ ├── cffparse.c │ │ ├── cffparse.h │ │ ├── cffpic.c │ │ ├── cffpic.h │ │ ├── cfftoken.h │ │ ├── cfftypes.h │ │ ├── module.mk │ │ └── rules.mk │ │ ├── cid │ │ ├── Jamfile │ │ ├── ciderrs.h │ │ ├── cidgload.c │ │ ├── cidgload.h │ │ ├── cidload.c │ │ ├── cidload.h │ │ ├── cidobjs.c │ │ ├── cidobjs.h │ │ ├── cidparse.c │ │ ├── cidparse.h │ │ ├── cidriver.c │ │ ├── cidriver.h │ │ ├── cidtoken.h │ │ ├── module.mk │ │ ├── rules.mk │ │ └── type1cid.c │ │ ├── gxvalid │ │ ├── Jamfile │ │ ├── README │ │ ├── gxvalid.c │ │ ├── gxvalid.h │ │ ├── gxvbsln.c │ │ ├── gxvcommn.c │ │ ├── gxvcommn.h │ │ ├── gxverror.h │ │ ├── gxvfeat.c │ │ ├── gxvfeat.h │ │ ├── gxvfgen.c │ │ ├── gxvjust.c │ │ ├── gxvkern.c │ │ ├── gxvlcar.c │ │ ├── gxvmod.c │ │ ├── gxvmod.h │ │ ├── gxvmort.c │ │ ├── gxvmort.h │ │ ├── gxvmort0.c │ │ ├── gxvmort1.c │ │ ├── gxvmort2.c │ │ ├── gxvmort4.c │ │ ├── gxvmort5.c │ │ ├── gxvmorx.c │ │ ├── gxvmorx.h │ │ ├── gxvmorx0.c │ │ ├── gxvmorx1.c │ │ ├── gxvmorx2.c │ │ ├── gxvmorx4.c │ │ ├── gxvmorx5.c │ │ ├── gxvopbd.c │ │ ├── gxvprop.c │ │ ├── gxvtrak.c │ │ ├── module.mk │ │ └── rules.mk │ │ ├── gzip │ │ ├── Jamfile │ │ ├── adler32.c │ │ ├── ftgzip.c │ │ ├── infblock.c │ │ ├── infblock.h │ │ ├── infcodes.c │ │ ├── infcodes.h │ │ ├── inffixed.h │ │ ├── inflate.c │ │ ├── inftrees.c │ │ ├── inftrees.h │ │ ├── infutil.c │ │ ├── infutil.h │ │ ├── rules.mk │ │ ├── zconf.h │ │ ├── zlib.h │ │ ├── zutil.c │ │ └── zutil.h │ │ ├── lzw │ │ ├── Jamfile │ │ ├── ftlzw.c │ │ ├── ftzopen.c │ │ ├── ftzopen.h │ │ └── rules.mk │ │ ├── otvalid │ │ ├── Jamfile │ │ ├── module.mk │ │ ├── otvalid.c │ │ ├── otvalid.h │ │ ├── otvbase.c │ │ ├── otvcommn.c │ │ ├── otvcommn.h │ │ ├── otverror.h │ │ ├── otvgdef.c │ │ ├── otvgpos.c │ │ ├── otvgpos.h │ │ ├── otvgsub.c │ │ ├── otvjstf.c │ │ ├── otvmath.c │ │ ├── otvmod.c │ │ ├── otvmod.h │ │ └── rules.mk │ │ ├── pcf │ │ ├── Jamfile │ │ ├── README │ │ ├── module.mk │ │ ├── pcf.c │ │ ├── pcf.h │ │ ├── pcfdrivr.c │ │ ├── pcfdrivr.h │ │ ├── pcferror.h │ │ ├── pcfread.c │ │ ├── pcfread.h │ │ ├── pcfutil.c │ │ ├── pcfutil.h │ │ └── rules.mk │ │ ├── pfr │ │ ├── Jamfile │ │ ├── module.mk │ │ ├── pfr.c │ │ ├── pfrcmap.c │ │ ├── pfrcmap.h │ │ ├── pfrdrivr.c │ │ ├── pfrdrivr.h │ │ ├── pfrerror.h │ │ ├── pfrgload.c │ │ ├── pfrgload.h │ │ ├── pfrload.c │ │ ├── pfrload.h │ │ ├── pfrobjs.c │ │ ├── pfrobjs.h │ │ ├── pfrsbit.c │ │ ├── pfrsbit.h │ │ ├── pfrtypes.h │ │ └── rules.mk │ │ ├── psaux │ │ ├── Jamfile │ │ ├── afmparse.c │ │ ├── afmparse.h │ │ ├── module.mk │ │ ├── psaux.c │ │ ├── psauxerr.h │ │ ├── psauxmod.c │ │ ├── psauxmod.h │ │ ├── psconv.c │ │ ├── psconv.h │ │ ├── psobjs.c │ │ ├── psobjs.h │ │ ├── rules.mk │ │ ├── t1cmap.c │ │ ├── t1cmap.h │ │ ├── t1decode.c │ │ └── t1decode.h │ │ ├── pshinter │ │ ├── Jamfile │ │ ├── module.mk │ │ ├── pshalgo.c │ │ ├── pshalgo.h │ │ ├── pshglob.c │ │ ├── pshglob.h │ │ ├── pshinter.c │ │ ├── pshmod.c │ │ ├── pshmod.h │ │ ├── pshnterr.h │ │ ├── pshpic.c │ │ ├── pshpic.h │ │ ├── pshrec.c │ │ ├── pshrec.h │ │ └── rules.mk │ │ ├── psnames │ │ ├── Jamfile │ │ ├── module.mk │ │ ├── psmodule.c │ │ ├── psmodule.h │ │ ├── psnamerr.h │ │ ├── psnames.c │ │ ├── pspic.c │ │ ├── pspic.h │ │ ├── pstables.h │ │ └── rules.mk │ │ ├── raster │ │ ├── Jamfile │ │ ├── ftmisc.h │ │ ├── ftraster.c │ │ ├── ftraster.h │ │ ├── ftrend1.c │ │ ├── ftrend1.h │ │ ├── module.mk │ │ ├── raster.c │ │ ├── rasterrs.h │ │ ├── rastpic.c │ │ ├── rastpic.h │ │ └── rules.mk │ │ ├── sfnt │ │ ├── Jamfile │ │ ├── module.mk │ │ ├── rules.mk │ │ ├── sfdriver.c │ │ ├── sfdriver.h │ │ ├── sferrors.h │ │ ├── sfnt.c │ │ ├── sfntpic.c │ │ ├── sfntpic.h │ │ ├── sfobjs.c │ │ ├── sfobjs.h │ │ ├── ttbdf.c │ │ ├── ttbdf.h │ │ ├── ttcmap.c │ │ ├── ttcmap.h │ │ ├── ttcmapc.h │ │ ├── ttkern.c │ │ ├── ttkern.h │ │ ├── ttload.c │ │ ├── ttload.h │ │ ├── ttmtx.c │ │ ├── ttmtx.h │ │ ├── ttpost.c │ │ ├── ttpost.h │ │ ├── ttsbit.c │ │ ├── ttsbit.h │ │ └── ttsbit0.c │ │ ├── smooth │ │ ├── Jamfile │ │ ├── ftgrays.c │ │ ├── ftgrays.h │ │ ├── ftsmerrs.h │ │ ├── ftsmooth.c │ │ ├── ftsmooth.h │ │ ├── ftspic.c │ │ ├── ftspic.h │ │ ├── module.mk │ │ ├── rules.mk │ │ └── smooth.c │ │ ├── tools │ │ ├── Jamfile │ │ ├── apinames.c │ │ ├── chktrcmp.py │ │ ├── cordic.py │ │ ├── docmaker │ │ │ ├── .gitignore │ │ │ ├── content.py │ │ │ ├── docbeauty.py │ │ │ ├── docmaker.py │ │ │ ├── formatter.py │ │ │ ├── sources.py │ │ │ ├── tohtml.py │ │ │ └── utils.py │ │ ├── ftrandom │ │ │ ├── Makefile │ │ │ ├── README │ │ │ └── ftrandom.c │ │ ├── glnames.py │ │ ├── test_afm.c │ │ ├── test_bbox.c │ │ └── test_trig.c │ │ ├── truetype │ │ ├── Jamfile │ │ ├── module.mk │ │ ├── rules.mk │ │ ├── truetype.c │ │ ├── ttdriver.c │ │ ├── ttdriver.h │ │ ├── tterrors.h │ │ ├── ttgload.c │ │ ├── ttgload.h │ │ ├── ttgxvar.c │ │ ├── ttgxvar.h │ │ ├── ttinterp.c │ │ ├── ttinterp.h │ │ ├── ttobjs.c │ │ ├── ttobjs.h │ │ ├── ttpic.c │ │ ├── ttpic.h │ │ ├── ttpload.c │ │ └── ttpload.h │ │ ├── type1 │ │ ├── Jamfile │ │ ├── module.mk │ │ ├── rules.mk │ │ ├── t1afm.c │ │ ├── t1afm.h │ │ ├── t1driver.c │ │ ├── t1driver.h │ │ ├── t1errors.h │ │ ├── t1gload.c │ │ ├── t1gload.h │ │ ├── t1load.c │ │ ├── t1load.h │ │ ├── t1objs.c │ │ ├── t1objs.h │ │ ├── t1parse.c │ │ ├── t1parse.h │ │ ├── t1tokens.h │ │ └── type1.c │ │ ├── type42 │ │ ├── Jamfile │ │ ├── module.mk │ │ ├── rules.mk │ │ ├── t42drivr.c │ │ ├── t42drivr.h │ │ ├── t42error.h │ │ ├── t42objs.c │ │ ├── t42objs.h │ │ ├── t42parse.c │ │ ├── t42parse.h │ │ ├── t42types.h │ │ └── type42.c │ │ └── winfonts │ │ ├── Jamfile │ │ ├── fnterrs.h │ │ ├── module.mk │ │ ├── rules.mk │ │ ├── winfnt.c │ │ └── winfnt.h │ └── libpng │ ├── Android.mk │ ├── LICENSE │ ├── README │ ├── arm │ ├── arm_init.c │ ├── filter_neon.S │ └── filter_neon_intrinsics.c │ ├── include │ ├── png.h │ ├── pngconf.h │ ├── pngdebug.h │ ├── pnginfo.h │ ├── pnglibconf.h │ ├── pngpriv.h │ └── pngstruct.h │ ├── png.c │ ├── pngerror.c │ ├── pngget.c │ ├── pngmem.c │ ├── pngpread.c │ ├── pngread.c │ ├── pngrio.c │ ├── pngrtran.c │ ├── pngrutil.c │ ├── pngset.c │ ├── pngtest.c │ ├── pngtrans.c │ ├── pngwio.c │ ├── pngwrite.c │ ├── pngwtran.c │ └── pngwutil.c ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | *.DS_Store 11 | /app/OpenCV-android-sdk/ 12 | /app/build 13 | *.settings* 14 | *.idea* 15 | 16 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | SenseData 4 | Project SenseData created by Buildship. 5 | 6 | 7 | 8 | 9 | 10 | org.eclipse.buildship.core.gradleprojectnature 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | app 4 | Project app created by Buildship. 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | org.eclipse.buildship.core.gradleprojectnature 17 | 18 | 19 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 25 5 | buildToolsVersion "25.0.2" 6 | defaultConfig { 7 | applicationId "io.github.jinjaysnow.sensedata" 8 | minSdkVersion 19 9 | targetSdkVersion 25 10 | versionCode 1 11 | versionName "1.0" 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 13 | externalNativeBuild { 14 | cmake { 15 | cppFlags "-std=c++11 -frtti -fexceptions" 16 | } 17 | } 18 | // 指定abi 19 | ndk { 20 | abiFilters 'armeabi-v7a' 21 | } 22 | } 23 | buildTypes { 24 | release { 25 | minifyEnabled false 26 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 27 | } 28 | } 29 | externalNativeBuild { 30 | cmake { 31 | path "CMakeLists.txt" 32 | } 33 | } 34 | // 设置jni库文件位置,打包到apk中 35 | sourceSets.main { 36 | jniLibs.srcDirs = ["src/lib_tango_client_api/lib", "src/lib_tango_support_api/lib"] 37 | } 38 | } 39 | 40 | dependencies { 41 | compile fileTree(dir: 'libs', include: ['*.jar']) 42 | androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 43 | exclude group: 'com.android.support', module: 'support-annotations' 44 | }) 45 | compile 'com.android.support:appcompat-v7:25.3.1' 46 | compile 'com.android.support.constraint:constraint-layout:1.0.2' 47 | testCompile 'junit:junit:4.12' 48 | } 49 | -------------------------------------------------------------------------------- /app/lightweight_filtering/.gitignore: -------------------------------------------------------------------------------- 1 | .cproject 2 | .project 3 | .settings 4 | build/ 5 | gtest/ 6 | cmake/ 7 | *~ 8 | -------------------------------------------------------------------------------- /app/lightweight_filtering/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016, Autonomous Systems Lab 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer in the 10 | documentation and/or other materials provided with the distribution. 11 | * Neither the name of the Autonomous Systems Lab, ETH Zurich nor the 12 | names of its contributors may be used to endorse or promote products 13 | derived from this software without specific prior written permission. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 19 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 21 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 22 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 23 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- /app/lightweight_filtering/Readme.md: -------------------------------------------------------------------------------- 1 | Lightweight Filtering 2 | ===================== 3 | 4 | This is the lightweight filtering library. It provides basic functionalities for implementing EKF and UKF filters. 5 | 6 | Author(s): Michael Bloesch -------------------------------------------------------------------------------- /app/lightweight_filtering/include/lightweight_filtering/common.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Common.hpp 3 | * 4 | * Created on: Feb 9, 2014 5 | * Author: Bloeschm 6 | */ 7 | 8 | #ifndef LWF_COMMON_HPP_ 9 | #define LWF_COMMON_HPP_ 10 | 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include "kindr/Core" 17 | #include "lightweight_filtering/PropertyHandler.hpp" 18 | 19 | typedef kindr::RotationQuaternionPD QPD; 20 | typedef kindr::RotationMatrixPD MPD; 21 | typedef Eigen::Vector3d V3D; 22 | typedef Eigen::Matrix3d M3D; 23 | typedef Eigen::VectorXd VXD; 24 | typedef Eigen::MatrixXd MXD; 25 | inline M3D gSM(const V3D& vec){ 26 | return kindr::getSkewMatrixFromVector(vec); 27 | } 28 | 29 | static void enforceSymmetry(MXD& mat){ 30 | mat = 0.5*(mat+mat.transpose()).eval(); 31 | } 32 | 33 | inline M3D Lmat (const V3D& a) { 34 | return kindr::getJacobianOfExponentialMap(a); 35 | } 36 | 37 | namespace LWF{ 38 | enum FilteringMode{ 39 | ModeEKF, 40 | ModeUKF, 41 | ModeIEKF 42 | }; 43 | } 44 | 45 | #endif /* LWF_COMMON_HPP_ */ 46 | -------------------------------------------------------------------------------- /app/lightweight_filtering/package.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | lightweight_filtering 4 | Lightweight filtering library 5 | https://bitbucket.org/ethz-asl-lr/lightweight_filtering 6 | Michael Bloesch 7 | Michael Bloesch 8 | BSD 9 | 0.0.9 10 | catkin 11 | kindr 12 | 13 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/jinjay/Library/Android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Uncomment this to preserve the line number information for 20 | # debugging stack traces. 21 | #-keepattributes SourceFile,LineNumberTable 22 | 23 | # If you keep the line number information, uncomment this to 24 | # hide the original source file name. 25 | #-renamesourcefileattribute SourceFile 26 | -------------------------------------------------------------------------------- /app/rovio/shaders/shader.fs: -------------------------------------------------------------------------------- 1 | #version 300 es 2 | 3 | precision highp float; 4 | 5 | in vec4 Color0; 6 | in vec3 Normal0; 7 | in vec2 TexCoord0; 8 | 9 | out vec4 FragColor; 10 | 11 | struct DirectionalLight 12 | { 13 | vec3 Color; 14 | float AmbientIntensity; 15 | float DiffuseIntensity; 16 | vec3 Direction; 17 | }; 18 | 19 | uniform DirectionalLight gDirectionalLight; 20 | uniform sampler2D gSampler; 21 | uniform bool useTexture; 22 | 23 | void main() 24 | { 25 | vec4 AmbientColor = vec4(gDirectionalLight.Color, 1.0f) * gDirectionalLight.AmbientIntensity; 26 | 27 | float DiffuseFactor = dot(normalize(Normal0), -gDirectionalLight.Direction); 28 | 29 | vec4 DiffuseColor; 30 | 31 | if (DiffuseFactor > 0.0f) { 32 | DiffuseColor = vec4(gDirectionalLight.Color, 1.0f) * gDirectionalLight.DiffuseIntensity * DiffuseFactor; 33 | } 34 | else { 35 | DiffuseColor = vec4(0.0f, 0.0f, 0.0f, 0.0f); 36 | } 37 | 38 | if(!useTexture){ 39 | FragColor = Color0 * (AmbientColor + DiffuseColor); 40 | } 41 | else { 42 | FragColor = texture2D(gSampler, TexCoord0.st) * (AmbientColor + DiffuseColor); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /app/rovio/shaders/shader.vs: -------------------------------------------------------------------------------- 1 | #version 300 es 2 | 3 | precision highp float; 4 | 5 | layout (location = 0) in vec3 Position; 6 | layout (location = 1) in vec3 Normal; 7 | layout (location = 2) in vec4 Color; 8 | 9 | uniform mat4 V_TF_B; 10 | uniform mat4 W_TF_B; 11 | 12 | out vec4 Color0; 13 | out vec3 Normal0; 14 | out vec2 TexCoord0; 15 | 16 | void main() 17 | { 18 | gl_Position = V_TF_B * vec4(Position, 1.0f); 19 | Color0 = Color; 20 | Normal0 = (W_TF_B * vec4(Normal, 0.0)).xyz; 21 | TexCoord0 = Color.xy; 22 | } 23 | -------------------------------------------------------------------------------- /app/src/androidTest/java/io/github/jinjaysnow/sensedata/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package io.github.jinjaysnow.sensedata; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumentation test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("io.github.jinjaysnow.sensedata", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/lib_tango_client_api/lib/arm64-v8a/libtango_client_api.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/src/lib_tango_client_api/lib/arm64-v8a/libtango_client_api.so -------------------------------------------------------------------------------- /app/src/lib_tango_client_api/lib/armeabi-v7a/libtango_client_api.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/src/lib_tango_client_api/lib/armeabi-v7a/libtango_client_api.so -------------------------------------------------------------------------------- /app/src/lib_tango_client_api/lib/x86/libtango_client_api.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/src/lib_tango_client_api/lib/x86/libtango_client_api.so -------------------------------------------------------------------------------- /app/src/lib_tango_support_api/lib/arm64-v8a/libtango_support_api.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/src/lib_tango_support_api/lib/arm64-v8a/libtango_support_api.so -------------------------------------------------------------------------------- /app/src/lib_tango_support_api/lib/armeabi-v7a/libtango_support_api.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/src/lib_tango_support_api/lib/armeabi-v7a/libtango_support_api.so -------------------------------------------------------------------------------- /app/src/lib_tango_support_api/lib/x86/libtango_support_api.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/src/lib_tango_support_api/lib/x86/libtango_support_api.so -------------------------------------------------------------------------------- /app/src/main/java/io/github/jinjaysnow/sensedata/TangoJniNative.java: -------------------------------------------------------------------------------- 1 | package io.github.jinjaysnow.sensedata; 2 | 3 | import android.app.Activity; 4 | import android.os.IBinder; 5 | import android.util.Log; 6 | 7 | /** 8 | * Created by jinjay on 2017/4/17. 9 | */ 10 | 11 | public class TangoJniNative { 12 | 13 | public static native void onCreate(Activity callerActivity); 14 | 15 | public static native void onTangoServiceConnected(IBinder binder); 16 | public static native void onResume(); 17 | 18 | public static native void onDisplayChanged(int display_rotation); 19 | public static native void onPause(); 20 | public static native void onSurfaceCreated(); 21 | public static native void onSurfaceChanged(int width, int height); 22 | public static native void render(); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #ff4081 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | SenseData 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/test/java/io/github/jinjaysnow/sensedata/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package io.github.jinjaysnow.sensedata; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/axis.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_AXIS_H_ 18 | #define TANGO_GL_AXIS_H_ 19 | 20 | #include "tango-gl/line.h" 21 | #include 22 | 23 | namespace tango_gl { 24 | class Axis : public Line { 25 | public: 26 | Axis(); 27 | void Render(const glm::mat4& projection_mat, const glm::mat4& view_mat) const; 28 | 29 | private: 30 | GLuint attrib_colors_; 31 | std::vector vec_colors_; 32 | }; 33 | } // namespace tango_gl 34 | #endif // TANGO_GL_AXIS_H_ 35 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/bounding_box.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_BOUNDING_BOX_H_ 18 | #define TANGO_GL_BOUNDING_BOX_H_ 19 | 20 | #include 21 | 22 | #include "tango-gl/segment.h" 23 | #include "tango-gl/util.h" 24 | 25 | namespace tango_gl { 26 | class BoundingBox { 27 | public: 28 | BoundingBox() 29 | : bounding_min_(glm::vec3(0, 0, 0)), bounding_max_(glm::vec3(0, 0, 0)) {} 30 | explicit BoundingBox(const std::vector& vertices); 31 | BoundingBox(const glm::vec3& min, const glm::vec3& max) 32 | : bounding_min_(min), bounding_max_(max) {} 33 | bool IsIntersecting(const Segment& segment, const glm::quat& rotation, 34 | const glm::mat4& transformation); 35 | 36 | private: 37 | // Axis-aligned bounding box minimum and maximum point. 38 | glm::vec3 bounding_min_; 39 | glm::vec3 bounding_max_; 40 | }; 41 | } // namespace tango_gl 42 | #endif // TANGO_GL_BOUNDING_BOX_H_ 43 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/circle.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_CIRCLE_H_ 18 | #define TANGO_GL_CIRCLE_H_ 19 | 20 | #include "tango-gl/mesh.h" 21 | 22 | namespace tango_gl { 23 | class Circle : public Mesh { 24 | public: 25 | Circle(float radius, int resolution); 26 | }; 27 | } // namespace tango_gl 28 | #endif // TANGO_GL_CIRCLE_H_ 29 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/color.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_COLOR_H_ 18 | #define TANGO_GL_COLOR_H_ 19 | 20 | namespace tango_gl { 21 | class Color { 22 | public: 23 | Color() : r(0), g(0), b(0) {} 24 | Color(float red, float green, float blue) : r(red), g(green), b(blue) {} 25 | Color(const Color&) = default; 26 | Color& operator=(const Color&) = default; 27 | 28 | float r; 29 | float g; 30 | float b; 31 | }; 32 | } // namespace tango_gl 33 | #endif // TANGO_GL_COLOR_H_ 34 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/cube.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_CUBE_H_ 18 | #define TANGO_GL_CUBE_H_ 19 | 20 | #include "tango-gl/mesh.h" 21 | 22 | namespace tango_gl { 23 | class Cube : public Mesh { 24 | public: 25 | Cube(); 26 | }; 27 | } // namespace tango_gl 28 | #endif // TANGO_GL_CUBE_H_ 29 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/frustum.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_FRUSTUM_H_ 18 | #define TANGO_GL_FRUSTUM_H_ 19 | 20 | #include "tango-gl/line.h" 21 | 22 | namespace tango_gl { 23 | class Frustum : public Line { 24 | public: 25 | Frustum(); 26 | }; 27 | } // namespace tango_gl 28 | #endif // TANGO_GL_FRUSTUM_H_ 29 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/goal_marker.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_GOAL_MARKER_H_ 18 | #define TANGO_GL_GOAL_MARKER_H_ 19 | 20 | #include 21 | 22 | namespace tango_gl { 23 | class GoalMarker : public Mesh { 24 | public: 25 | GoalMarker(); 26 | }; 27 | } // namespace tango_gl 28 | #endif // TANGO_GL_GOAL_MARKER_H_ 29 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/grid.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_GRID_H_ 18 | #define TANGO_GL_GRID_H_ 19 | 20 | #include "tango-gl/line.h" 21 | 22 | namespace tango_gl { 23 | class Grid : public Line { 24 | public: 25 | explicit Grid(float density = 1.0f, int qx = 50, int qy = 50); 26 | }; 27 | } // namespace tango_gl 28 | #endif // TANGO_GL_GRID_H_ 29 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/line.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_LINE_H_ 18 | #define TANGO_GL_LINE_H_ 19 | 20 | #include "tango-gl/drawable_object.h" 21 | #include 22 | 23 | namespace tango_gl { 24 | class Line : public DrawableObject { 25 | public: 26 | Line(float line_width, GLenum render_mode); 27 | void SetLineWidth(const float pixels); 28 | void Render(const glm::mat4& projection_mat, const glm::mat4& view_mat) const; 29 | void UpdateLineVertices(const std::vector& vec_vertices) { 30 | vec_vertices_ = vec_vertices; 31 | } 32 | 33 | protected: 34 | float line_width_; 35 | std::vector vec_vertices_; 36 | }; 37 | } // namespace tango_gl 38 | #endif // TANGO_GL_LINE_H_ 39 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/mesh.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_MESH_H_ 18 | #define TANGO_GL_MESH_H_ 19 | 20 | #include "tango-gl/bounding_box.h" 21 | #include "tango-gl/drawable_object.h" 22 | #include "tango-gl/segment.h" 23 | 24 | namespace tango_gl { 25 | class Mesh : public DrawableObject { 26 | public: 27 | Mesh(); 28 | explicit Mesh(GLenum render_mode); 29 | void SetShader(); 30 | void SetShader(bool is_lighting_on); 31 | void SetBoundingBox(); 32 | void SetLightDirection(const glm::vec3& light_direction); 33 | void Render(const glm::mat4& projection_mat, const glm::mat4& view_mat) const; 34 | bool IsIntersecting(const Segment& segment); 35 | 36 | protected: 37 | BoundingBox* bounding_box_; 38 | bool is_lighting_on_; 39 | bool is_bounding_box_on_; 40 | glm::vec3 light_direction_; 41 | GLuint uniform_mv_mat_; 42 | GLuint uniform_light_vec_; 43 | }; 44 | } // namespace tango_gl 45 | #endif // TANGO_GL_MESH_H_ 46 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/meshes.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2016 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_MESHES_H_ 18 | #define TANGO_GL_MESHES_H_ 19 | 20 | #include 21 | 22 | #include "tango-gl/tango-gl.h" 23 | 24 | namespace tango_gl { 25 | namespace meshes { 26 | tango_gl::StaticMesh* MakeSphereMesh(int rows, int columns, double radius); 27 | tango_gl::StaticMesh* MakeCubeMesh(double side); 28 | tango_gl::StaticMesh* MakePlaneMesh(double width, double height); 29 | tango_gl::StaticMesh* MakePlaneMesh(double width, double height, 30 | double tiling_factor); 31 | } // namespace meshes 32 | } // namespace tango_gl 33 | #endif // TANGO_GL_MESHES_H_ 34 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/quad.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_QUAD_H_ 18 | #define TANGO_GL_QUAD_H_ 19 | 20 | #include "tango-gl/drawable_object.h" 21 | 22 | namespace tango_gl { 23 | class Quad : public DrawableObject { 24 | public: 25 | Quad(); 26 | Quad(const Quad& other) = delete; 27 | Quad& operator=(const Quad&) = delete; 28 | ~Quad(); 29 | 30 | void Render(const glm::mat4& projection_mat, const glm::mat4& view_mat) const; 31 | void SetTextureId(GLuint texture_id); 32 | 33 | private: 34 | GLuint vertex_buffer_; 35 | GLuint shader_program_; 36 | GLuint attrib_vertices_; 37 | GLuint texture_coords_; 38 | GLuint texture_handle; 39 | GLuint uniform_mvp_mat_; 40 | 41 | GLuint texture_id_; 42 | }; 43 | } // namespace tango_gl 44 | #endif // TANGO_GL_QUAD_H_ 45 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/segment.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_SEGMENT_H_ 18 | #define TANGO_GL_SEGMENT_H_ 19 | 20 | #include "glm/glm.hpp" 21 | 22 | namespace tango_gl { 23 | class Segment { 24 | public: 25 | Segment() : start(glm::vec3(0, 0, 0)), end(glm::vec3(0, 0, 0)) {} 26 | Segment(const glm::vec3& segment_start, const glm::vec3& segment_end) 27 | : start(segment_start), end(segment_end) {} 28 | Segment(const Segment&) = default; 29 | Segment& operator=(const Segment&) = default; 30 | 31 | glm::vec3 start; 32 | glm::vec3 end; 33 | }; 34 | } // namespace tango_gl 35 | #endif // TANGO_GL_SEGMENT_H_ 36 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/segment_drawable.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_SEGMENT_DRAWABLE_H_ 18 | #define TANGO_GL_SEGMENT_DRAWABLE_H_ 19 | 20 | #include "tango-gl/line.h" 21 | #include "tango-gl/segment.h" 22 | 23 | namespace tango_gl { 24 | class SegmentDrawable : public Line { 25 | public: 26 | SegmentDrawable(); 27 | void UpdateSegment(const Segment& segment); 28 | }; 29 | } // namespace tango_gl 30 | #endif // TANGO_GL_SEGMENT_DRAWABLE_H_ 31 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/shaders.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_SHADERS_H_ 18 | #define TANGO_GL_SHADERS_H_ 19 | 20 | #include 21 | 22 | namespace tango_gl { 23 | namespace shaders { 24 | std::string GetBasicVertexShader(); 25 | std::string GetBasicFragmentShader(); 26 | std::string GetTexturedVertexShader(); 27 | std::string GetTexturedFragmentShader(); 28 | std::string GetColorVertexShader(); 29 | std::string GetVideoOverlayVertexShader(); 30 | std::string GetVideoOverlayFragmentShader(); 31 | std::string GetVideoOverlayTexture2DFragmentShader(); 32 | std::string GetShadedVertexShader(); 33 | } // namespace shaders 34 | } // namespace tango_gl 35 | #endif // TANGO_GL_SHADERS_H_ 36 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/texture.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_TEXTURE_H_ 18 | #define TANGO_GL_TEXTURE_H_ 19 | 20 | #include 21 | #include 22 | #include 23 | 24 | #include "tango-gl/util.h" 25 | 26 | namespace tango_gl { 27 | class Texture { 28 | public: 29 | explicit Texture(AAssetManager* mgr, const char* file_path); 30 | Texture(GLenum texture_id, GLenum texture_target); 31 | Texture(const Texture& other) = delete; 32 | Texture& operator=(const Texture&) = delete; 33 | 34 | bool LoadFromPNG(FILE* file); 35 | GLuint GetTextureID() const; 36 | GLenum GetTextureTarget() const; 37 | 38 | private: 39 | png_uint_32 width_, height_; 40 | int bit_depth_, color_type_; 41 | GLuint texture_id_; 42 | GLenum texture_target_; 43 | }; 44 | } // namespace tango_gl 45 | #endif // TANGO_GL_TEXTURE_H_ 46 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/trace.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_TRACE_H_ 18 | #define TANGO_GL_TRACE_H_ 19 | 20 | #include "tango-gl/line.h" 21 | 22 | namespace tango_gl { 23 | class Trace : public Line { 24 | public: 25 | Trace(); 26 | void UpdateVertexArray(const glm::vec3& v); 27 | void ClearVertexArray(); 28 | }; 29 | } // namespace tango_gl 30 | #endif // TANGO_GL_TRACE_H_ 31 | -------------------------------------------------------------------------------- /app/tango_gl/include/tango-gl/triangle.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef TANGO_GL_TRIANGLE_H_ 18 | #define TANGO_GL_TRIANGLE_H_ 19 | 20 | #include "tango-gl/mesh.h" 21 | 22 | namespace tango_gl { 23 | class Triangle : public Mesh { 24 | public: 25 | Triangle(); 26 | }; 27 | } // namespace tango_gl 28 | #endif // TANGO_GL_TRIANGLE_H_ 29 | -------------------------------------------------------------------------------- /app/tango_gl/src/circle.cc: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #include "tango-gl/circle.h" 18 | 19 | namespace tango_gl { 20 | Circle::Circle(float radius, int resolution) : Mesh(GL_TRIANGLE_FAN) { 21 | SetShader(); 22 | std::vector vertices; 23 | vertices.reserve(3 * (resolution + 2)); 24 | vertices.push_back(0); 25 | vertices.push_back(0); 26 | vertices.push_back(0); 27 | float delta_theta = M_PI * 2.0f / static_cast(resolution); 28 | for (int i = resolution; i >= 0; i--) { 29 | float theta = delta_theta * static_cast(i); 30 | vertices.push_back(cos(theta) * radius); 31 | vertices.push_back(0); 32 | vertices.push_back(sin(theta) * radius); 33 | } 34 | SetVertices(vertices); 35 | } 36 | } // namespace tango_gl 37 | -------------------------------------------------------------------------------- /app/tango_gl/src/frustum.cc: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | #include "tango-gl/frustum.h" 17 | 18 | namespace tango_gl { 19 | 20 | static const float float_vertices[] = { 21 | 0.0f, 0.0f, 0.0f, -1.0f, 1.0f, -1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 22 | 1.0f, -1.0f, 0.0f, 0.0f, 0.0f, -1.0f, -1.0f, -1.0f, 0.0f, 0.0f, 23 | 0.0f, 1.0f, -1.0f, -1.0f, -1.0f, 1.0f, -1.0f, 1.0f, 1.0f, -1.0f, 24 | 1.0f, 1.0f, -1.0f, 1.0f, -1.0f, -1.0f, 1.0f, -1.0f, -1.0f, -1.0f, 25 | -1.0f, -1.0f, -1.0f, -1.0f, -1.0f, -1.0f, 1.0f, -1.0f}; 26 | 27 | Frustum::Frustum() : Line(3.0f, GL_LINES) { 28 | SetShader(); 29 | size_t size = sizeof(float_vertices) / sizeof(float); 30 | for (size_t i = 0; i < size; i += 3) { 31 | vec_vertices_.push_back(glm::vec3(float_vertices[i], float_vertices[i + 1], 32 | float_vertices[i + 2])); 33 | } 34 | } 35 | } // namespace tango_gl 36 | -------------------------------------------------------------------------------- /app/tango_gl/src/segment_drawable.cc: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #include "tango-gl/segment_drawable.h" 18 | 19 | namespace tango_gl { 20 | SegmentDrawable::SegmentDrawable() : tango_gl::Line(5.0f, GL_LINES) { 21 | SetShader(); 22 | vec_vertices_.push_back(glm::vec3(0, 0, 0)); 23 | vec_vertices_.push_back(glm::vec3(1.f, 1.f, 1.f)); 24 | } 25 | void SegmentDrawable::UpdateSegment(const Segment& segment) { 26 | vec_vertices_[0] = segment.start; 27 | vec_vertices_[1] = segment.end; 28 | } 29 | } // namespace tango_gl 30 | -------------------------------------------------------------------------------- /app/tango_gl/src/trace.cc: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #include "tango-gl/trace.h" 18 | 19 | namespace tango_gl { 20 | 21 | static const int kMaxTraceLength = 5000; 22 | static const float kDistanceCheck = 0.05f; 23 | 24 | Trace::Trace() : Line(3.0f, GL_LINE_STRIP) { SetShader(); } 25 | 26 | void Trace::UpdateVertexArray(const glm::vec3& v) { 27 | if (vec_vertices_.size() == 0) { 28 | vec_vertices_.push_back(v); 29 | } else { 30 | float dist = glm::distance(vec_vertices_[vec_vertices_.size() - 1], v); 31 | if (dist >= kDistanceCheck) { 32 | vec_vertices_.push_back(v); 33 | } 34 | } 35 | } 36 | 37 | void Trace::ClearVertexArray() { vec_vertices_.clear(); } 38 | } // namespace tango_gl 39 | -------------------------------------------------------------------------------- /app/tango_gl/src/triangle.cc: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Google Inc. All Rights Reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #include "tango-gl/triangle.h" 18 | 19 | namespace tango_gl { 20 | 21 | static const GLfloat const_vertices[] = {-0.15f, 0.0f, 0.0f, 0.15f, 0.0f, 22 | 0.0f, 0.0f, 0.0f, -0.2f}; 23 | 24 | static const GLushort const_indices[] = {0, 1, 2}; 25 | 26 | Triangle::Triangle() { 27 | SetShader(); 28 | std::vector vertices( 29 | const_vertices, 30 | const_vertices + sizeof(const_vertices) / sizeof(GLfloat)); 31 | std::vector indices( 32 | const_indices, const_indices + sizeof(const_indices) / sizeof(GLushort)); 33 | SetVertices(vertices, indices); 34 | } 35 | } // namespace tango_gl 36 | -------------------------------------------------------------------------------- /app/third_party/glm/CTestConfig.cmake: -------------------------------------------------------------------------------- 1 | ## This file should be placed in the root directory of your project. 2 | ## Then modify the CMakeLists.txt file in the root directory of your 3 | ## project to incorporate the testing dashboard. 4 | ## # The following are required to uses Dart and the Cdash dashboard 5 | ## ENABLE_TESTING() 6 | ## INCLUDE(CTest) 7 | set(CTEST_PROJECT_NAME "GLM") 8 | set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") 9 | 10 | set(CTEST_DROP_METHOD "http") 11 | set(CTEST_DROP_SITE "my.cdash.org") 12 | set(CTEST_DROP_LOCATION "/submit.php?project=GLM") 13 | set(CTEST_DROP_SITE_CDASH TRUE) 14 | -------------------------------------------------------------------------------- /app/third_party/glm/copying.txt: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2005 - 2013 G-Truc Creation 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/bc_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/bc_s.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/bdwn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/bdwn.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/closed.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/doxygen.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/ftv2blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/ftv2blank.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/ftv2cl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/ftv2cl.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/ftv2doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/ftv2doc.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/ftv2folderclosed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/ftv2folderclosed.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/ftv2folderopen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/ftv2folderopen.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/ftv2lastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/ftv2lastnode.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/ftv2link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/ftv2link.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/ftv2mlastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/ftv2mlastnode.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/ftv2mnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/ftv2mnode.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/ftv2mo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/ftv2mo.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/ftv2node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/ftv2node.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/ftv2ns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/ftv2ns.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/ftv2plastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/ftv2plastnode.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/ftv2pnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/ftv2pnode.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/ftv2splitbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/ftv2splitbar.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/ftv2vertline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/ftv2vertline.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/nav_f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/nav_f.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/nav_g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/nav_g.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/nav_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/nav_h.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/open.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/sync_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/sync_off.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/sync_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/sync_on.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/tab_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/tab_a.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/tab_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/tab_b.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/tab_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/tab_h.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/api/tab_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/api/tab_s.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/glm.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/glm.docx -------------------------------------------------------------------------------- /app/third_party/glm/doc/glm.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/glm.pdf -------------------------------------------------------------------------------- /app/third_party/glm/doc/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/logo.png -------------------------------------------------------------------------------- /app/third_party/glm/doc/~$glm.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/doc/~$glm.docx -------------------------------------------------------------------------------- /app/third_party/glm/glm/detail/precision.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/glm/detail/precision.inl -------------------------------------------------------------------------------- /app/third_party/glm/glm/detail/type_mat.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////// 2 | /// OpenGL Mathematics (glm.g-truc.net) 3 | /// 4 | /// Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 5 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 6 | /// of this software and associated documentation files (the "Software"), to deal 7 | /// in the Software without restriction, including without limitation the rights 8 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | /// copies of the Software, and to permit persons to whom the Software is 10 | /// furnished to do so, subject to the following conditions: 11 | /// 12 | /// The above copyright notice and this permission notice shall be included in 13 | /// all copies or substantial portions of the Software. 14 | /// 15 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | /// THE SOFTWARE. 22 | /// 23 | /// @ref core 24 | /// @file glm/core/type_mat.inl 25 | /// @date 2011-06-15 / 2011-06-15 26 | /// @author Christophe Riccio 27 | /////////////////////////////////////////////////////////////////////////////////// 28 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/detail/type_vec.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////// 2 | /// OpenGL Mathematics (glm.g-truc.net) 3 | /// 4 | /// Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 5 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 6 | /// of this software and associated documentation files (the "Software"), to deal 7 | /// in the Software without restriction, including without limitation the rights 8 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | /// copies of the Software, and to permit persons to whom the Software is 10 | /// furnished to do so, subject to the following conditions: 11 | /// 12 | /// The above copyright notice and this permission notice shall be included in 13 | /// all copies or substantial portions of the Software. 14 | /// 15 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | /// THE SOFTWARE. 22 | /// 23 | /// @ref core 24 | /// @file glm/core/type_vec.inl 25 | /// @date 2011-06-15 / 2011-06-15 26 | /// @author Christophe Riccio 27 | /////////////////////////////////////////////////////////////////////////////////// 28 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/gtx/closest_point.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2005-12-30 5 | // Updated : 2008-10-05 6 | // Licence : This source is under MIT License 7 | // File : glm/gtx/closest_point.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | namespace glm 11 | { 12 | template 13 | GLM_FUNC_QUALIFIER detail::tvec3 closestPointOnLine 14 | ( 15 | detail::tvec3 const & point, 16 | detail::tvec3 const & a, 17 | detail::tvec3 const & b 18 | ) 19 | { 20 | T LineLength = distance(a, b); 21 | detail::tvec3 Vector = point - a; 22 | detail::tvec3 LineDirection = (b - a) / LineLength; 23 | 24 | // Project Vector to LineDirection to get the distance of point from a 25 | T Distance = dot(Vector, LineDirection); 26 | 27 | if(Distance <= T(0)) return a; 28 | if(Distance >= LineLength) return b; 29 | return a + LineDirection * Distance; 30 | } 31 | }//namespace glm 32 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/gtx/handed_coordinate_space.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2005-12-21 5 | // Updated : 2009-02-19 6 | // Licence : This source is under MIT License 7 | // File : glm/gtx/handed_coordinate_space.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | namespace glm 11 | { 12 | template 13 | GLM_FUNC_QUALIFIER bool rightHanded 14 | ( 15 | detail::tvec3 const & tangent, 16 | detail::tvec3 const & binormal, 17 | detail::tvec3 const & normal 18 | ) 19 | { 20 | return dot(cross(normal, tangent), binormal) > T(0); 21 | } 22 | 23 | template 24 | GLM_FUNC_QUALIFIER bool leftHanded 25 | ( 26 | detail::tvec3 const & tangent, 27 | detail::tvec3 const & binormal, 28 | detail::tvec3 const & normal 29 | ) 30 | { 31 | return dot(cross(normal, tangent), binormal) < T(0); 32 | } 33 | }//namespace glm 34 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/gtx/log_base.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2008-10-24 5 | // Updated : 2008-10-24 6 | // Licence : This source is under MIT License 7 | // File : glm/gtx/log_base.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | namespace glm 11 | { 12 | template 13 | GLM_FUNC_QUALIFIER genType log( 14 | genType const & x, 15 | genType const & base) 16 | { 17 | assert(x != genType(0)); 18 | 19 | return glm::log(x) / glm::log(base); 20 | } 21 | 22 | VECTORIZE_VEC_SCA(log) 23 | VECTORIZE_VEC_VEC(log) 24 | }//namespace glm 25 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/gtx/matrix_cross_product.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2005-12-21 5 | // Updated : 2005-12-21 6 | // Licence : This source is under MIT License 7 | // File : glm/gtx/matrix_cross_product.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | namespace glm 11 | { 12 | template 13 | GLM_FUNC_QUALIFIER detail::tmat3x3 matrixCross3 14 | ( 15 | detail::tvec3 const & x 16 | ) 17 | { 18 | detail::tmat3x3 Result(T(0)); 19 | Result[0][1] = x.z; 20 | Result[1][0] = -x.z; 21 | Result[0][2] = -x.y; 22 | Result[2][0] = x.y; 23 | Result[1][2] = x.x; 24 | Result[2][1] = -x.x; 25 | return Result; 26 | } 27 | 28 | template 29 | GLM_FUNC_QUALIFIER detail::tmat4x4 matrixCross4 30 | ( 31 | detail::tvec3 const & x 32 | ) 33 | { 34 | detail::tmat4x4 Result(T(0)); 35 | Result[0][1] = x.z; 36 | Result[1][0] = -x.z; 37 | Result[0][2] = -x.y; 38 | Result[2][0] = x.y; 39 | Result[1][2] = x.x; 40 | Result[2][1] = -x.x; 41 | return Result; 42 | } 43 | 44 | }//namespace glm 45 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/gtx/mixed_product.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2007-04-03 5 | // Updated : 2008-09-17 6 | // Licence : This source is under MIT License 7 | // File : glm/gtx/mixed_product.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | namespace glm 11 | { 12 | template 13 | GLM_FUNC_QUALIFIER T mixedProduct 14 | ( 15 | detail::tvec3 const & v1, 16 | detail::tvec3 const & v2, 17 | detail::tvec3 const & v3 18 | ) 19 | { 20 | return dot(cross(v1, v2), v3); 21 | } 22 | }//namespace glm 23 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/gtx/normal.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2005-12-21 5 | // Updated : 2011-06-07 6 | // Licence : This source is under MIT License 7 | // File : glm/gtx/normal.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | namespace glm 11 | { 12 | template 13 | GLM_FUNC_QUALIFIER detail::tvec3 triangleNormal 14 | ( 15 | detail::tvec3 const & p1, 16 | detail::tvec3 const & p2, 17 | detail::tvec3 const & p3 18 | ) 19 | { 20 | return normalize(cross(p1 - p2, p1 - p3)); 21 | } 22 | }//namespace glm 23 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/gtx/number_precision.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2007-05-10 5 | // Updated : 2007-05-10 6 | // Licence : This source is under MIT License 7 | // File : glm/gtx/number_precision.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | namespace glm 11 | { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/gtx/orthonormalize.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2005-12-21 5 | // Updated : 2005-12-21 6 | // Licence : This source is under MIT License 7 | // File : glm/gtx/orthonormalize.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | namespace glm 11 | { 12 | template 13 | GLM_FUNC_QUALIFIER detail::tmat3x3 orthonormalize 14 | ( 15 | const detail::tmat3x3& m 16 | ) 17 | { 18 | detail::tmat3x3 r = m; 19 | 20 | r[0] = normalize(r[0]); 21 | 22 | float d0 = dot(r[0], r[1]); 23 | r[1] -= r[0] * d0; 24 | r[1] = normalize(r[1]); 25 | 26 | float d1 = dot(r[1], r[2]); 27 | d0 = dot(r[0], r[2]); 28 | r[2] -= r[0] * d0 + r[1] * d1; 29 | r[2] = normalize(r[2]); 30 | 31 | return r; 32 | } 33 | 34 | template 35 | GLM_FUNC_QUALIFIER detail::tvec3 orthonormalize 36 | ( 37 | const detail::tvec3& x, 38 | const detail::tvec3& y 39 | ) 40 | { 41 | return normalize(x - y * dot(y, x)); 42 | } 43 | }//namespace glm 44 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/gtx/perpendicular.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2005-12-21 5 | // Updated : 2009-03-06 6 | // Licence : This source is under MIT License 7 | // File : glm/gtx/perpendicular.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | namespace glm 11 | { 12 | template 13 | GLM_FUNC_QUALIFIER vecType perp 14 | ( 15 | vecType const & x, 16 | vecType const & Normal 17 | ) 18 | { 19 | return x - proj(x, Normal); 20 | } 21 | }//namespace glm 22 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/gtx/polar_coordinates.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2007-03-06 5 | // Updated : 2009-05-01 6 | // Licence : This source is under MIT License 7 | // File : glm/gtx/polar_coordinates.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | namespace glm 11 | { 12 | template 13 | GLM_FUNC_QUALIFIER detail::tvec3 polar 14 | ( 15 | detail::tvec3 const & euclidean 16 | ) 17 | { 18 | T const Length(length(euclidean)); 19 | detail::tvec3 const tmp(euclidean / Length); 20 | T const xz_dist(sqrt(tmp.x * tmp.x + tmp.z * tmp.z)); 21 | 22 | return detail::tvec3( 23 | atan(xz_dist, tmp.y), // latitude 24 | atan(tmp.x, tmp.z), // longitude 25 | xz_dist); // xz distance 26 | } 27 | 28 | template 29 | GLM_FUNC_QUALIFIER detail::tvec3 euclidean 30 | ( 31 | detail::tvec2 const & polar 32 | ) 33 | { 34 | T const latitude(polar.x); 35 | T const longitude(polar.y); 36 | 37 | return detail::tvec3( 38 | cos(latitude) * sin(longitude), 39 | sin(latitude), 40 | cos(latitude) * cos(longitude)); 41 | } 42 | 43 | }//namespace glm 44 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/gtx/projection.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2005-12-21 5 | // Updated : 2009-03-06 6 | // Licence : This source is under MIT License 7 | // File : glm/gtx/projection.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | namespace glm 11 | { 12 | template 13 | GLM_FUNC_QUALIFIER vecType proj 14 | ( 15 | vecType const & x, 16 | vecType const & Normal 17 | ) 18 | { 19 | return glm::dot(x, Normal) / glm::dot(Normal, Normal) * Normal; 20 | } 21 | }//namespace glm 22 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/gtx/raw_data.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2008-11-19 5 | // Updated : 2008-11-19 6 | // Licence : This source is under MIT License 7 | // File : glm/gtx/raw_data.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | // Dependency: 10 | // - GLM core 11 | /////////////////////////////////////////////////////////////////////////////////////////////////// 12 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/gtx/std_based_type.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2008-06-08 5 | // Updated : 2008-06-08 6 | // Licence : This source is under MIT License 7 | // File : glm/gtx/std_based_type.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | namespace glm 11 | { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/gtx/transform.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2005-12-21 5 | // Updated : 2009-04-29 6 | // Licence : This source is under MIT License 7 | // File : glm/gtx/transform.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | namespace glm 11 | { 12 | template 13 | GLM_FUNC_QUALIFIER detail::tmat4x4 translate( 14 | detail::tvec3 const & v) 15 | { 16 | return translate( 17 | detail::tmat4x4(1.0f), v); 18 | } 19 | 20 | template 21 | GLM_FUNC_QUALIFIER detail::tmat4x4 rotate( 22 | T angle, 23 | detail::tvec3 const & v) 24 | { 25 | return rotate( 26 | detail::tmat4x4(1), angle, v); 27 | } 28 | 29 | template 30 | GLM_FUNC_QUALIFIER detail::tmat4x4 scale( 31 | detail::tvec3 const & v) 32 | { 33 | return scale( 34 | detail::tmat4x4(1.0f), v); 35 | } 36 | 37 | }//namespace glm 38 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/gtx/unsigned_int.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2005-12-24 5 | // Updated : 2008-10-07 6 | // Licence : This source is under MIT License 7 | // File : glm/gtx/unsigned_int.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | namespace glm 11 | { 12 | 13 | }//namespace glm 14 | -------------------------------------------------------------------------------- /app/third_party/glm/glm/gtx/vec1.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////// 2 | /// OpenGL Mathematics (glm.g-truc.net) 3 | /// 4 | /// Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 5 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 6 | /// of this software and associated documentation files (the "Software"), to deal 7 | /// in the Software without restriction, including without limitation the rights 8 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | /// copies of the Software, and to permit persons to whom the Software is 10 | /// furnished to do so, subject to the following conditions: 11 | /// 12 | /// The above copyright notice and this permission notice shall be included in 13 | /// all copies or substantial portions of the Software. 14 | /// 15 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | /// THE SOFTWARE. 22 | /// 23 | /// @ref gtx_vec1 24 | /// @file glm/gtx/vec1.inl 25 | /// @date 2013-03-16 / 2013-03-16 26 | /// @author Christophe Riccio 27 | /////////////////////////////////////////////////////////////////////////////////// 28 | -------------------------------------------------------------------------------- /app/third_party/glm/test/core/core_func_noise.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2011-01-15 5 | // Updated : 2011-09-13 6 | // Licence : This source is under MIT licence 7 | // File : test/core/func_noise.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | int main() 11 | { 12 | int Failed = 0; 13 | 14 | return Failed; 15 | } 16 | 17 | -------------------------------------------------------------------------------- /app/third_party/glm/test/core/core_func_trigonometric.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2011-01-15 5 | // Updated : 2011-09-13 6 | // Licence : This source is under MIT licence 7 | // File : test/core/func_trigonometric.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | 12 | int main() 13 | { 14 | int Failed = 0; 15 | 16 | return Failed; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/core/core_func_vector_relational.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2011-01-15 5 | // Updated : 2011-09-13 6 | // Licence : This source is under MIT licence 7 | // File : test/core/vector_relational.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | 12 | int main() 13 | { 14 | int Error(0); 15 | 16 | return Error; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/core/core_type_float.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2008-08-31 5 | // Updated : 2011-05-06 6 | // Licence : This source is under MIT License 7 | // File : test/core/type_float.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | 12 | int test_float_size() 13 | { 14 | return 15 | sizeof(glm::float_t) != sizeof(glm::lowp_float) && 16 | sizeof(glm::float_t) != sizeof(glm::mediump_float) && 17 | sizeof(glm::float_t) != sizeof(glm::highp_float); 18 | } 19 | 20 | int test_float_precision() 21 | { 22 | return ( 23 | sizeof(glm::lowp_float) <= sizeof(glm::mediump_float) && 24 | sizeof(glm::mediump_float) <= sizeof(glm::highp_float)) ? 0 : 1; 25 | } 26 | 27 | int test_vec2() 28 | { 29 | return 0; 30 | } 31 | 32 | int main() 33 | { 34 | int Error = 0; 35 | 36 | Error += test_float_size(); 37 | Error += test_float_precision(); 38 | 39 | return Error; 40 | } 41 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/core/dummy.cpp: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | 4 | } 5 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/core/generate_mipmaps.hpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2010-09-27 5 | // Updated : 2010-09-27 6 | // Licence : This source is under MIT License 7 | // File : gli/core/generate_mipmaps.hpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifndef GLI_GENERATE_MIPMAPS_INCLUDED 11 | #define GLI_GENERATE_MIPMAPS_INCLUDED 12 | 13 | #include "texture2d.hpp" 14 | 15 | namespace gli 16 | { 17 | texture2D generateMipmaps( 18 | texture2D const & Texture, 19 | texture2D::level_type const & BaseLevel); 20 | 21 | }//namespace gli 22 | 23 | #include "generate_mipmaps.inl" 24 | 25 | #endif//GLI_GENERATE_MIPMAPS_INCLUDED 26 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/core/operator.hpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2010-01-19 5 | // Updated : 2010-01-19 6 | // Licence : This source is under MIT License 7 | // File : gli/core/operator.hpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifndef GLI_OPERATOR_INCLUDED 11 | #define GLI_OPERATOR_INCLUDED 12 | 13 | #include "texture2d.hpp" 14 | 15 | namespace gli{ 16 | namespace detail 17 | { 18 | 19 | }//namespace detail 20 | 21 | texture2D operator+(texture2D const & TextureA, texture2D const & TextureB); 22 | texture2D operator-(texture2D const & TextureA, texture2D const & TextureB); 23 | 24 | }//namespace gli 25 | 26 | #include "operator.inl" 27 | 28 | #endif//GLI_OPERATOR_INCLUDED 29 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/core/shared_array.hpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2008-12-19 5 | // Updated : 2005-06-13 6 | // Licence : This source is under MIT License 7 | // File : gli/shared_array.hpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifndef GLI_SHARED_ARRAY_INCLUDED 11 | #define GLI_SHARED_ARRAY_INCLUDED 12 | 13 | namespace gli 14 | { 15 | template 16 | class shared_array 17 | { 18 | public: 19 | 20 | shared_array(); 21 | shared_array(shared_array const & SharedArray); 22 | shared_array(T * Pointer); 23 | virtual ~shared_array(); 24 | 25 | void reset(); 26 | void reset(T * Pointer); 27 | 28 | T & operator*(); 29 | T * operator->(); 30 | T const & operator*() const; 31 | T const * const operator->() const; 32 | 33 | T * get(); 34 | T const * const get() const; 35 | 36 | shared_array & operator=(shared_array const & SharedArray); 37 | bool operator==(shared_array const & SharedArray) const; 38 | bool operator!=(shared_array const & SharedArray) const; 39 | 40 | private: 41 | int * Counter; 42 | T * Pointer; 43 | }; 44 | }//namespace gli 45 | 46 | #include "shared_array.inl" 47 | 48 | #endif //GLI_SHARED_ARRAY_INCLUDED 49 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/core/shared_ptr.hpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2008-12-19 5 | // Updated : 2005-06-13 6 | // Licence : This source is under MIT License 7 | // File : gli/fetch.hpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifndef GLI_SHARED_PTR_INCLUDED 11 | #define GLI_SHARED_PTR_INCLUDED 12 | 13 | namespace gli 14 | { 15 | template 16 | class shared_ptr 17 | { 18 | public: 19 | shared_ptr(); 20 | shared_ptr(shared_ptr const & SmartPtr); 21 | shared_ptr(T* pPointer); 22 | ~shared_ptr(); 23 | 24 | T& operator*(); 25 | T* operator->(); 26 | const T& operator*() const; 27 | const T* operator->() const; 28 | shared_ptr& operator=(shared_ptr const & SmartPtr); 29 | shared_ptr& operator=(T* pPointer); 30 | bool operator==(shared_ptr const & SmartPtr) const; 31 | bool operator!=(shared_ptr const & SmartPtr) const; 32 | 33 | private: 34 | int* m_pReference; 35 | T* m_pPointer; 36 | }; 37 | }//namespace gli 38 | 39 | #include "shared_ptr.inl" 40 | 41 | #endif //GLI_SHARED_PTR_INCLUDED 42 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/core/size.hpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2010-09-08 5 | // Updated : 2010-09-08 6 | // Licence : This source is under MIT License 7 | // File : gli/core/size.hpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifndef GLI_CORE_SIZE_INCLUDED 11 | #define GLI_CORE_SIZE_INCLUDED 12 | 13 | #include "texture2d.hpp" 14 | 15 | namespace gli 16 | { 17 | //template 18 | image2D::size_type size( 19 | image2D const & Image, 20 | image2D::size_type const & SizeType); 21 | 22 | //template 23 | texture2D::size_type size( 24 | texture2D const & Texture, 25 | texture2D::size_type const & SizeType); 26 | 27 | }//namespace gli 28 | 29 | #include "size.inl" 30 | 31 | #endif//GLI_CORE_SIZE_INCLUDED 32 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/core/size.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2008-12-19 5 | // Updated : 2010-09-08 6 | // Licence : This source is under MIT License 7 | // File : gli/core/size.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | namespace gli 11 | { 12 | inline image2D::size_type size 13 | ( 14 | image2D const & Image, 15 | image2D::size_type const & SizeType 16 | ) 17 | { 18 | switch(SizeType) 19 | { 20 | case LINEAR_SIZE: 21 | return detail::sizeLinear(Image); 22 | case BLOCK_SIZE: 23 | return detail::sizeBlock(Image.format()); 24 | case BIT_PER_PIXEL: 25 | return detail::sizeBitPerPixel(Image.format()); 26 | case COMPONENT: 27 | return detail::sizeComponent(Image.format()); 28 | default: 29 | assert(0); 30 | return 0; 31 | }; 32 | } 33 | 34 | inline texture2D::size_type size 35 | ( 36 | texture2D const & Texture, 37 | texture2D::size_type const & SizeType 38 | ) 39 | { 40 | texture2D::size_type Size = 0; 41 | for(texture2D::level_type Level = 0; Level < Texture.levels(); ++Level) 42 | Size += size(Texture[Level], SizeType); 43 | 44 | return Size; 45 | } 46 | 47 | }//namespace 48 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/gli.hpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2008-12-19 5 | // Updated : 2010-09-29 6 | // Licence : This source is under MIT License 7 | // File : gli/gli.hpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | /*! \mainpage OpenGL Image 11 | * 12 | */ 13 | 14 | #ifndef GLI_GLI_INCLUDED 15 | #define GLI_GLI_INCLUDED 16 | 17 | #define GLI_VERSION 31 18 | #define GLI_VERSION_MAJOR 0 19 | #define GLI_VERSION_MINOR 3 20 | #define GLI_VERSION_PATCH 1 21 | #define GLI_VERSION_REVISION 0 22 | 23 | #include "./core/texture2d.hpp" 24 | #include "./core/texture2d_array.hpp" 25 | #include "./core/texture_cube.hpp" 26 | #include "./core/texture_cube_array.hpp" 27 | #include "./core/size.hpp" 28 | #include "./core/operation.hpp" 29 | #include "./core/generate_mipmaps.hpp" 30 | 31 | #endif//GLI_GLI_INCLUDED 32 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/gtx/compression.hpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2008-12-19 5 | // Updated : 2010-01-09 6 | // Licence : This source is under MIT License 7 | // File : gli/gtx/compression.hpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifndef GLI_GTX_COMPRESSION_INCLUDED 11 | #define GLI_GTX_COMPRESSION_INCLUDED 12 | 13 | namespace gli{ 14 | namespace gtx{ 15 | namespace compression 16 | { 17 | 18 | 19 | }//namespace compression 20 | }//namespace gtx 21 | }//namespace gli 22 | 23 | namespace gli{using namespace gtx::compression;} 24 | 25 | #include "compression.inl" 26 | 27 | #endif//GLI_GTX_COMPRESSION_INCLUDED 28 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/gtx/compression.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2008-12-19 5 | // Updated : 2010-01-09 6 | // Licence : This source is under MIT License 7 | // File : gli/gtx/compression.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/gtx/fetch.hpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2008-12-19 5 | // Updated : 2010-09-27 6 | // Licence : This source is under MIT License 7 | // File : gli/gtx/fetch.hpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifndef GLI_GTX_FETCH_INCLUDED 11 | #define GLI_GTX_FETCH_INCLUDED 12 | 13 | #include "../gli.hpp" 14 | 15 | namespace gli{ 16 | namespace gtx{ 17 | namespace fetch 18 | { 19 | template 20 | genType texelFetch( 21 | texture2D const & Texture, 22 | texture2D::dimensions_type const & Texcoord, 23 | texture2D::level_type const & Level); 24 | 25 | template 26 | genType textureLod( 27 | texture2D const & Texture, 28 | texture2D::texcoord_type const & Texcoord, 29 | texture2D::level_type const & Level); 30 | 31 | template 32 | void texelWrite( 33 | texture2D & Texture, 34 | texture2D::dimensions_type const & Texcoord, 35 | texture2D::level_type const & Level, 36 | genType const & Color); 37 | 38 | }//namespace fetch 39 | }//namespace gtx 40 | }//namespace gli 41 | 42 | namespace gli{using namespace gtx::fetch;} 43 | 44 | #include "fetch.inl" 45 | 46 | #endif//GLI_GTX_FETCH_INCLUDED 47 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/gtx/gl_texture2d.hpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2010-09-27 5 | // Updated : 2010-10-01 6 | // Licence : This source is under MIT License 7 | // File : gli/gtx/gl_texture2d.hpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifndef GLI_GTX_GL_TEXTURE2D_INCLUDED 11 | #define GLI_GTX_GL_TEXTURE2D_INCLUDED 12 | 13 | #include "../gli.hpp" 14 | #include "../gtx/loader.hpp" 15 | 16 | #ifndef GL_VERSION_1_1 17 | #error "ERROR: OpenGL must be included before GLI_GTX_gl_texture2d" 18 | #endif//GL_VERSION_1_1 19 | 20 | namespace gli{ 21 | namespace gtx{ 22 | namespace gl_texture2d 23 | { 24 | GLuint createTexture2D(std::string const & Filename); 25 | }//namespace gl_texture2d 26 | }//namespace gtx 27 | }//namespace gli 28 | 29 | namespace gli{using namespace gtx::gl_texture2d;} 30 | 31 | #include "gl_texture2d.inl" 32 | 33 | #endif//GLI_GTX_GL_TEXTURE2D_INCLUDED 34 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/gtx/gradient.hpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2008-12-19 5 | // Updated : 2010-01-09 6 | // Licence : This source is under MIT License 7 | // File : gli/gtx/gradient.hpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifndef GLI_GTX_GRADIENT_INCLUDED 11 | #define GLI_GTX_GRADIENT_INCLUDED 12 | 13 | #include "../gli.hpp" 14 | 15 | namespace gli{ 16 | namespace gtx{ 17 | namespace gradient 18 | { 19 | texture2D radial( 20 | texture2D::dimensions_type const & Size, 21 | texture2D::texcoord_type const & Center, 22 | float const & Radius, 23 | texture2D::texcoord_type const & Focal); 24 | 25 | texture2D linear( 26 | texture2D::dimensions_type const & Size, 27 | texture2D::texcoord_type const & Point0, 28 | texture2D::texcoord_type const & Point1); 29 | 30 | }//namespace gradient 31 | }//namespace gtx 32 | }//namespace gli 33 | 34 | namespace gli{using namespace gtx::gradient;} 35 | 36 | #include "gradient.inl" 37 | 38 | #endif//GLI_GTX_GRADIENT_INCLUDED 39 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/gtx/loader.hpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2010-09-08 5 | // Updated : 2010-09-27 6 | // Licence : This source is under MIT License 7 | // File : gli/gtx/loader.hpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifndef GLI_GTX_LOADER_INCLUDED 11 | #define GLI_GTX_LOADER_INCLUDED 12 | 13 | #include "../gli.hpp" 14 | #include "../gtx/loader_dds9.hpp" 15 | #include "../gtx/loader_dds10.hpp" 16 | #include "../gtx/loader_tga.hpp" 17 | 18 | namespace gli{ 19 | namespace gtx{ 20 | namespace loader 21 | { 22 | inline texture2D load( 23 | std::string const & Filename); 24 | 25 | inline void save( 26 | texture2D const & Image, 27 | std::string const & Filename); 28 | 29 | }//namespace loader 30 | }//namespace gtx 31 | }//namespace gli 32 | 33 | namespace gli{using namespace gtx::loader;} 34 | 35 | #include "loader.inl" 36 | 37 | #endif//GLI_GTX_LOADER_INCLUDED 38 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/gtx/loader.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2010-09-08 5 | // Updated : 2010-09-27 6 | // Licence : This source is under MIT License 7 | // File : gli/gtx/loader.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | namespace gli{ 11 | namespace gtx{ 12 | namespace loader 13 | { 14 | inline texture2D load 15 | ( 16 | std::string const & Filename 17 | ) 18 | { 19 | if(Filename.find(".dds") != std::string::npos) 20 | return loadDDS10(Filename); 21 | else if(Filename.find(".tga") != std::string::npos) 22 | return loadTGA(Filename); 23 | else 24 | { 25 | assert(0); // File format not supported 26 | return texture2D(); 27 | } 28 | } 29 | 30 | inline void save 31 | ( 32 | texture2D const & Image, 33 | std::string const & Filename 34 | ) 35 | { 36 | if(Filename.find(".dds") != std::string::npos) 37 | saveDDS10(Image, Filename); 38 | else if(Filename.find(".tga") != std::string::npos) 39 | saveTGA(Image, Filename); 40 | else 41 | assert(0); // File format not supported 42 | } 43 | 44 | }//namespace loader 45 | }//namespace gtx 46 | }//namespace gli 47 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/gtx/loader_dds10.hpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2010-09-26 5 | // Updated : 2010-09-27 6 | // Licence : This source is under MIT License 7 | // File : gli/gtx/loader_dds10.hpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifndef GLI_GTX_LOADER_DDS10_INCLUDED 11 | #define GLI_GTX_LOADER_DDS10_INCLUDED 12 | 13 | #include "../gli.hpp" 14 | #include 15 | 16 | namespace gli{ 17 | namespace gtx{ 18 | namespace loader_dds10 19 | { 20 | texture2D loadDDS10( 21 | std::string const & Filename); 22 | 23 | void saveDDS10( 24 | texture2D const & Image, 25 | std::string const & Filename); 26 | 27 | }//namespace loader_dds10 28 | }//namespace gtx 29 | }//namespace gli 30 | 31 | namespace gli{using namespace gtx::loader_dds10;} 32 | 33 | #include "loader_dds10.inl" 34 | 35 | #endif//GLI_GTX_LOADER_DDS10_INCLUDED 36 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/gtx/loader_dds9.hpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2010-09-08 5 | // Updated : 2010-09-27 6 | // Licence : This source is under MIT License 7 | // File : gli/gtx/loader_dds9.hpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifndef GLI_GTX_LOADER_DDS9_INCLUDED 11 | #define GLI_GTX_LOADER_DDS9_INCLUDED 12 | 13 | #include "../gli.hpp" 14 | #include 15 | 16 | namespace gli{ 17 | namespace gtx{ 18 | namespace loader_dds9 19 | { 20 | texture2D loadDDS9( 21 | std::string const & Filename); 22 | 23 | void saveDDS9( 24 | texture2D const & Texture, 25 | std::string const & Filename); 26 | 27 | void saveTextureCubeDDS9( 28 | textureCube const & Texture, 29 | std::string const & Filename); 30 | 31 | }//namespace loader_dds9 32 | }//namespace gtx 33 | }//namespace gli 34 | 35 | namespace gli{using namespace gtx::loader_dds9;} 36 | 37 | #include "loader_dds9.inl" 38 | 39 | #endif//GLI_GTX_LOADER_DDS9_INCLUDED 40 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/gtx/loader_tga.hpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2010-09-08 5 | // Updated : 2010-09-27 6 | // Licence : This source is under MIT License 7 | // File : gli/gtx/loader_tga.hpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifndef GLI_GTX_LOADER_TGA_INCLUDED 11 | #define GLI_GTX_LOADER_TGA_INCLUDED 12 | 13 | #include "../gli.hpp" 14 | #include 15 | #include 16 | 17 | namespace gli{ 18 | namespace gtx{ 19 | namespace loader_tga 20 | { 21 | texture2D loadTGA( 22 | std::string const & Filename); 23 | 24 | void saveTGA( 25 | texture2D const & Image, 26 | std::string const & Filename); 27 | 28 | }//namespace loader_tga 29 | }//namespace gtx 30 | }//namespace gli 31 | 32 | namespace gli{using namespace gtx::loader_tga;} 33 | 34 | #include "loader_tga.inl" 35 | 36 | #endif//GLI_GTX_LOADER_TGA_INCLUDED 37 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/gtx/wavelet.hpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2010-01-09 5 | // Updated : 2010-01-09 6 | // Licence : This source is under MIT License 7 | // File : gli/gtx/wavelet.hpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #ifndef GLI_GTX_WAVELET_INCLUDED 11 | #define GLI_GTX_WAVELET_INCLUDED 12 | 13 | namespace gli{ 14 | namespace gtx{ 15 | namespace wavelet 16 | { 17 | 18 | 19 | }//namespace wavelet 20 | }//namespace gtx 21 | }//namespace gli 22 | 23 | namespace gli{using namespace gtx::wavelet;} 24 | 25 | #include "wavelet.inl" 26 | 27 | #endif//GLI_GTX_WAVELET_INCLUDED 28 | -------------------------------------------------------------------------------- /app/third_party/glm/test/external/gli/gtx/wavelet.inl: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2010-01-09 5 | // Updated : 2010-01-09 6 | // Licence : This source is under MIT License 7 | // File : gli/gtx/wavelet.inl 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | -------------------------------------------------------------------------------- /app/third_party/glm/test/glm.cppcheck: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtc/gtc_constants.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2012-09-19 5 | // Updated : 2012-12-13 6 | // Licence : This source is under MIT licence 7 | // File : test/gtc/constants.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | 12 | int test_epsilon() 13 | { 14 | int Error(0); 15 | 16 | { 17 | float Test = glm::epsilon(); 18 | } 19 | 20 | { 21 | double Test = glm::epsilon(); 22 | } 23 | 24 | return Error; 25 | } 26 | 27 | int main() 28 | { 29 | int Error(0); 30 | 31 | //float MinHalf = 0.0f; 32 | //while (glm::half(MinHalf) == glm::half(0.0f)) 33 | // MinHalf += std::numeric_limits::epsilon(); 34 | Error += test_epsilon(); 35 | 36 | return Error; 37 | } 38 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtc/gtc_matrix_integer.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2010-09-16 5 | // Updated : 2010-09-16 6 | // Licence : This source is under MIT licence 7 | // File : test/gtc/matrix_integer.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | 12 | int main() 13 | { 14 | int Error = 0; 15 | 16 | return Error; 17 | } 18 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtc/gtc_matrix_inverse.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2010-09-16 5 | // Updated : 2010-09-16 6 | // Licence : This source is under MIT licence 7 | // File : test/gtc/matrix_inverse.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | 12 | int main() 13 | { 14 | int Error = 0; 15 | 16 | return Error; 17 | } 18 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtc/gtc_quaternion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/glm/test/gtc/gtc_quaternion.cpp -------------------------------------------------------------------------------- /app/third_party/glm/test/gtc/gtc_reciprocal.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2012-09-19 5 | // Updated : 2012-09-19 6 | // Licence : This source is under MIT licence 7 | // File : test/gtc/reciprocal.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | 12 | int main() 13 | { 14 | int Error(0); 15 | 16 | return Error; 17 | } 18 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtc/gtc_user_defined_types.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2010-09-16 5 | // Updated : 2011-05-27 6 | // Licence : This source is under MIT licence 7 | // File : test/gtc/type_ptr.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #define GLM_FORCE_RADIANS 11 | #include 12 | 13 | int test_make_pointer_vec() 14 | { 15 | int Error = 0; 16 | 17 | glm::func(); 18 | //func(); 19 | 20 | return Error; 21 | } 22 | 23 | int main() 24 | { 25 | int Error = 0; 26 | 27 | Error += test_make_pointer_vec(); 28 | 29 | return Error; 30 | } 31 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_associated_min_max.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/associated_min_max.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_closest_point.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/associated_min_max.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_color_space.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/color_space.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int test_saturation() 14 | { 15 | int Error(0); 16 | 17 | glm::vec4 Color = glm::saturation(1.0f, glm::vec4(1.0, 0.5, 0.0, 1.0)); 18 | 19 | return Error; 20 | } 21 | 22 | int main() 23 | { 24 | int Error(0); 25 | 26 | Error += test_saturation(); 27 | 28 | return Error; 29 | } 30 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_color_space_YCoCg.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/color_space_YCoCg.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_common.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2014-09-08 5 | // Updated : 2014-09-08 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/common.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int test_isdenormal() 14 | { 15 | int Error(0); 16 | 17 | bool A = glm::isdenormal(1.0f); 18 | glm::bvec1 B = glm::isdenormal(glm::vec1(1.0f)); 19 | glm::bvec2 C = glm::isdenormal(glm::vec2(1.0f)); 20 | glm::bvec3 D = glm::isdenormal(glm::vec3(1.0f)); 21 | glm::bvec4 E = glm::isdenormal(glm::vec4(1.0f)); 22 | 23 | return Error; 24 | } 25 | 26 | int main() 27 | { 28 | int Error(0); 29 | 30 | Error += test_isdenormal(); 31 | 32 | return Error; 33 | } 34 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_compatibility.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/compatibility.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_component_wise.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/component_wise.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_extend.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/extend.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_extented_min_max.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/associated_min_max.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_fast_exponential.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/associated_min_max.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_fast_trigonometry.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/fast_trigonometry.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | #include 13 | 14 | int test_fastSin() 15 | { 16 | int Error(0); 17 | 18 | float DiffMax = 0.0f; 19 | for(std::size_t i = 0; i < 10000; ++i) 20 | { 21 | float angle = glm::pi() * 2.0f / static_cast(i + 1); 22 | float A = glm::sin(angle); 23 | float B = glm::fastSin(angle); 24 | DiffMax = glm::max(DiffMax, glm::abs(B - A)); 25 | } 26 | 27 | return Error; 28 | } 29 | 30 | int main() 31 | { 32 | int Error(0); 33 | 34 | Error += test_fastSin(); 35 | 36 | return Error; 37 | } 38 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_gradient_paint.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2011-10-13 5 | // Updated : 2011-10-13 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/gradient_paint.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | 12 | int test_radialGradient() 13 | { 14 | int Error = 0; 15 | 16 | float Gradient = glm::radialGradient(glm::vec2(0), 1.0f, glm::vec2(1), glm::vec2(0.5)); 17 | Error += Gradient != 0.0f ? 0 : 1; 18 | 19 | return Error; 20 | } 21 | 22 | int test_linearGradient() 23 | { 24 | int Error = 0; 25 | 26 | float Gradient = glm::linearGradient(glm::vec2(0), glm::vec2(1), glm::vec2(0.5)); 27 | Error += Gradient != 0.0f ? 0 : 1; 28 | 29 | return Error; 30 | } 31 | 32 | int main() 33 | { 34 | int Error = 0; 35 | 36 | Error += test_radialGradient(); 37 | Error += test_linearGradient(); 38 | 39 | return Error; 40 | } 41 | 42 | 43 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_handed_coordinate_space.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/handed_coordinate_space.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_inertia.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/inertia.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_int_10_10_10_2.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2013 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/associated_min_max.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_intersect.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/intersect.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_log_base.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/log_base.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_matrix_cross_product.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/matrix_cross_product.hpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_matrix_decompose.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2014-08-31 5 | // Updated : 2014-08-31 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/decomposition.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | 12 | int main() 13 | { 14 | int Error(0); 15 | 16 | return Error; 17 | } 18 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_matrix_interpolation.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2012-09-19 5 | // Updated : 2012-09-19 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/matrix_interpolation.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | 12 | int main() 13 | { 14 | int Error(0); 15 | 16 | return Error; 17 | } 18 | 19 | 20 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_matrix_major_storage.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/matrix_major_storage.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_matrix_operation.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/matrix_operation.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_matrix_transform_2d.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2014-02-21 5 | // Updated : 2014-02-21 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/matrix_transform_2d.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | 12 | int main() 13 | { 14 | int Error(0); 15 | 16 | return Error; 17 | } 18 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_mixed_product.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2013 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/associated_min_max.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_norm.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/norm.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_normal.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/normal.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_normalize_dot.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/normalize_dot.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_number_precision.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/number_precision.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | 13 | int main() 14 | { 15 | int Error(0); 16 | 17 | return Error; 18 | } 19 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_optimum_pow.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/optimum_pow.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | #include 13 | 14 | int main() 15 | { 16 | int Error(0); 17 | 18 | return Error; 19 | } 20 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_orthonormalize.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/orthonormalize.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | #include 13 | 14 | int main() 15 | { 16 | int Error(0); 17 | 18 | return Error; 19 | } 20 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_perpendicular.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/perpendicular.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | #include 13 | 14 | int main() 15 | { 16 | int Error(0); 17 | 18 | return Error; 19 | } 20 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_polar_coordinates.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/polar_coordinates.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | #include 13 | 14 | int main() 15 | { 16 | int Error(0); 17 | 18 | return Error; 19 | } 20 | -------------------------------------------------------------------------------- /app/third_party/glm/test/gtx/gtx_projection.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | // Created : 2013-10-25 5 | // Updated : 2013-10-25 6 | // Licence : This source is under MIT licence 7 | // File : test/gtx/projection.cpp 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | #include 11 | #include 12 | #include 13 | 14 | int main() 15 | { 16 | int Error(0); 17 | 18 | return Error; 19 | } 20 | -------------------------------------------------------------------------------- /app/third_party/glm/util/autoexp.txt: -------------------------------------------------------------------------------- 1 | [Visualizer] 2 | 3 | glm::detail::tvec2<*>{ 4 | preview ( 5 | #(#($c.x,$c.y)) 6 | ) 7 | children ( 8 | #([x]: $c.x,[y]: $c.y) 9 | ) 10 | } 11 | 12 | glm::detail::tvec3<*>{ 13 | preview ( 14 | #($e.x,$e.y,$e.z) 15 | ) 16 | children ( 17 | #([x]: $e.x,[y]: $e.y,[z]: $e.z) 18 | ) 19 | } 20 | 21 | glm::detail::tvec4<*>{ 22 | preview ( 23 | #($c.x,$c.y,$c.z,$c.w) 24 | ) 25 | children ( 26 | #([x]: $e.x,[y]: $e.y,[z]: $e.z, #([w]: $e.w)) 27 | ) 28 | } 29 | -------------------------------------------------------------------------------- /app/third_party/glm/util/glm.natvis: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | ({x}, {y}) 9 | 10 | x 11 | y 12 | 13 | 14 | 15 | ({x}, {y}, {z}) 16 | 17 | x 18 | y 19 | z 20 | 21 | 22 | 23 | ({x}, {y}, {z}, {w}) 24 | 25 | x 26 | y 27 | z 28 | w 29 | 30 | 31 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH:= $(call my-dir) 2 | include $(CLEAR_VARS) 3 | 4 | LOCAL_MODULE := libfreetype 5 | 6 | LOCAL_ARM_MODE := arm 7 | 8 | LOCAL_SRC_FILES:= \ 9 | src/base/ftbbox.c \ 10 | src/base/ftbitmap.c \ 11 | src/base/ftglyph.c \ 12 | src/base/ftstroke.c \ 13 | src/base/ftxf86.c \ 14 | src/base/ftbase.c \ 15 | src/base/ftsystem.c \ 16 | src/base/ftinit.c \ 17 | src/base/ftgasp.c \ 18 | src/raster/raster.c \ 19 | src/sfnt/sfnt.c \ 20 | src/smooth/smooth.c \ 21 | src/autofit/autofit.c \ 22 | src/truetype/truetype.c \ 23 | src/cff/cff.c \ 24 | src/psnames/psnames.c \ 25 | src/pshinter/pshinter.c 26 | 27 | LOCAL_C_INCLUDES += \ 28 | $(LOCAL_PATH)/builds \ 29 | $(LOCAL_PATH)/include 30 | 31 | LOCAL_EXPORT_C_INCLUDES += \ 32 | $(LOCAL_PATH)/builds \ 33 | $(LOCAL_PATH)/include 34 | 35 | LOCAL_CFLAGS += -W -Wall 36 | LOCAL_CFLAGS += -fPIC -DPIC 37 | LOCAL_CFLAGS += "-DDARWIN_NO_CARBON" 38 | LOCAL_CFLAGS += "-DFT2_BUILD_LIBRARY" 39 | 40 | LOCAL_CFLAGS += -O2 41 | 42 | include $(BUILD_STATIC_LIBRARY) 43 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/Application.mk: -------------------------------------------------------------------------------- 1 | APP_OPTIM := release 2 | APP_MODULES := libfreetype 3 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/app/third_party/libfreetype/LICENSE.txt -------------------------------------------------------------------------------- /app/third_party/libfreetype/include/freetype/config/ftmodule.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file registers the FreeType modules compiled into the library. 3 | * 4 | * If you use GNU make, this file IS NOT USED! Instead, it is created in 5 | * the objects directory (normally `/objs/') based on information 6 | * from `/modules.cfg'. 7 | * 8 | * Please read `docs/INSTALL.ANY' and `docs/CUSTOMIZE' how to compile 9 | * FreeType without GNU make. 10 | * 11 | */ 12 | 13 | FT_USE_MODULE(FT_Module_Class, autofit_module_class) 14 | FT_USE_MODULE(FT_Driver_ClassRec, tt_driver_class) 15 | /*FT_USE_MODULE( FT_Driver_ClassRec, t1_driver_class )*/ 16 | FT_USE_MODULE(FT_Driver_ClassRec, cff_driver_class) 17 | /*FT_USE_MODULE( FT_Driver_ClassRec, t1cid_driver_class )*/ 18 | /*FT_USE_MODULE( FT_Driver_ClassRec, pfr_driver_class )*/ 19 | /*FT_USE_MODULE( FT_Driver_ClassRec, t42_driver_class )*/ 20 | /*FT_USE_MODULE( FT_Driver_ClassRec, winfnt_driver_class )*/ 21 | /*FT_USE_MODULE( FT_Driver_ClassRec, pcf_driver_class )*/ 22 | /*FT_USE_MODULE( FT_Module_Class, psaux_module_class )*/ 23 | FT_USE_MODULE(FT_Module_Class, psnames_module_class) 24 | FT_USE_MODULE(FT_Module_Class, pshinter_module_class) 25 | FT_USE_MODULE(FT_Renderer_Class, ft_raster1_renderer_class) 26 | FT_USE_MODULE(FT_Module_Class, sfnt_module_class) 27 | FT_USE_MODULE(FT_Renderer_Class, ft_smooth_renderer_class) 28 | FT_USE_MODULE(FT_Renderer_Class, ft_smooth_lcd_renderer_class) 29 | FT_USE_MODULE(FT_Renderer_Class, ft_smooth_lcdv_renderer_class) 30 | /*FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class )*/ 31 | 32 | /* EOF */ 33 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src Jamfile 2 | # 3 | # Copyright 2001, 2002 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) ; 13 | 14 | # The file is used to define macros that are 15 | # later used in #include statements. It needs to be parsed in order to 16 | # record these definitions. 17 | # 18 | HDRMACRO [ FT2_SubDir $(FT2_INCLUDE_DIR) internal internal.h ] ; 19 | 20 | for xx in $(FT2_COMPONENTS) 21 | { 22 | SubInclude FT2_TOP $(FT2_SRC_DIR) $(xx) ; 23 | } 24 | 25 | # end of src Jamfile 26 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/autofit/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/autofit Jamfile 2 | # 3 | # Copyright 2003, 2004, 2005, 2006, 2007, 2009 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP src autofit ; 13 | 14 | { 15 | local _sources ; 16 | 17 | # define FT2_AUTOFIT2 to enable experimental latin hinter replacement 18 | if $(FT2_AUTOFIT2) 19 | { 20 | DEFINES += FT_OPTION_AUTOFIT2 ; 21 | } 22 | if $(FT2_MULTI) 23 | { 24 | _sources = afangles afglobal afhints aflatin afcjk afindic afloader afmodule afdummy afwarp afpic ; 25 | 26 | if $(FT2_AUTOFIT2) 27 | { 28 | _sources += aflatin2 ; 29 | } 30 | } 31 | else 32 | { 33 | _sources = autofit ; 34 | } 35 | 36 | Library $(FT2_LIB) : $(_sources).c ; 37 | } 38 | 39 | # end of src/autofit Jamfile 40 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/autofit/afangles.h: -------------------------------------------------------------------------------- 1 | /* 2 | * afangles.h 3 | * 4 | * This is a dummy file, used to please the build system. It is never 5 | * included by the auto-fitter sources. 6 | * 7 | */ 8 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/autofit/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 auto-fitter module definition 3 | # 4 | 5 | 6 | # Copyright 2003, 2004, 2005, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += AUTOFIT_MODULE 17 | 18 | define AUTOFIT_MODULE 19 | $(OPEN_DRIVER) FT_Module_Class, autofit_module_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)autofit $(ECHO_DRIVER_DESC)automatic hinting module$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/bdf/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/bdf Jamfile 2 | # 3 | # Copyright 2002 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) bdf ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = bdfdrivr bdflib ; 20 | } 21 | else 22 | { 23 | _sources = bdf ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/bdf Jamfile 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/bdf/bdf.c: -------------------------------------------------------------------------------- 1 | /* bdf.c 2 | 3 | FreeType font driver for bdf files 4 | 5 | Copyright (C) 2001, 2002 by 6 | Francesco Zappa Nardelli 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | */ 26 | 27 | #define FT_MAKE_OPTION_SINGLE_OBJECT 28 | 29 | #include 30 | #include "bdflib.c" 31 | #include "bdfdrivr.c" 32 | 33 | 34 | /* END */ 35 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/bdf/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 BDF module definition 3 | # 4 | 5 | # Copyright 2001, 2002, 2006 by 6 | # Francesco Zappa Nardelli 7 | # 8 | # Permission is hereby granted, free of charge, to any person obtaining a copy 9 | # of this software and associated documentation files (the "Software"), to deal 10 | # in the Software without restriction, including without limitation the rights 11 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | # copies of the Software, and to permit persons to whom the Software is 13 | # furnished to do so, subject to the following conditions: 14 | # 15 | # The above copyright notice and this permission notice shall be included in 16 | # all copies or substantial portions of the Software. 17 | # 18 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | # THE SOFTWARE. 25 | 26 | 27 | FTMODULE_H_COMMANDS += BDF_DRIVER 28 | 29 | define BDF_DRIVER 30 | $(OPEN_DRIVER) FT_Driver_ClassRec, bdf_driver_class $(CLOSE_DRIVER) 31 | $(ECHO_DRIVER)bdf $(ECHO_DRIVER_DESC)bdf bitmap fonts$(ECHO_DRIVER_DONE) 32 | endef 33 | 34 | # EOF 35 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/cache/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/cache Jamfile 2 | # 3 | # Copyright 2001, 2003, 2004 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) cache ; 13 | 14 | # The file contains some macro definitions that are 15 | # later used in #include statements related to the cache sub-system. It 16 | # needs to be parsed through a HDRMACRO rule for macro definitions. 17 | # 18 | HDRMACRO [ FT2_SubDir include ftcache.h ] ; 19 | 20 | { 21 | local _sources ; 22 | 23 | if $(FT2_MULTI) 24 | { 25 | _sources = ftcmru 26 | ftcmanag 27 | ftccache 28 | ftcglyph 29 | ftcsbits 30 | ftcimage 31 | ftcbasic 32 | ftccmap 33 | ; 34 | } 35 | else 36 | { 37 | _sources = ftcache ; 38 | } 39 | 40 | Library $(FT2_LIB) : $(_sources).c ; 41 | } 42 | 43 | # end of src/cache Jamfile 44 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/cff/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/cff Jamfile 2 | # 3 | # Copyright 2001, 2002 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) cff ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = cffdrivr cffgload cffload cffobjs cffparse cffcmap cffpic ; 20 | } 21 | else 22 | { 23 | _sources = cff ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/cff Jamfile 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/cff/cff.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* cff.c */ 4 | /* */ 5 | /* FreeType OpenType driver component (body only). */ 6 | /* */ 7 | /* Copyright 1996-2001, 2002 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #define FT_MAKE_OPTION_SINGLE_OBJECT 20 | 21 | #include 22 | #include "cffpic.c" 23 | #include "cffdrivr.c" 24 | #include "cffparse.c" 25 | #include "cffload.c" 26 | #include "cffobjs.c" 27 | #include "cffgload.c" 28 | #include "cffcmap.c" 29 | 30 | /* END */ 31 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/cff/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 CFF module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += CFF_DRIVER 17 | 18 | define CFF_DRIVER 19 | $(OPEN_DRIVER) FT_Driver_ClassRec, cff_driver_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)cff $(ECHO_DRIVER_DESC)OpenType fonts with extension *.otf$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/cid/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/cid Jamfile 2 | # 3 | # Copyright 2001 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) cid ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = cidobjs cidload cidgload cidriver cidparse ; 20 | } 21 | else 22 | { 23 | _sources = type1cid ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/cid Jamfile 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/cid/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 CID module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += TYPE1CID_DRIVER 17 | 18 | define TYPE1CID_DRIVER 19 | $(OPEN_DRIVER) FT_Driver_ClassRec, t1cid_driver_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)cid $(ECHO_DRIVER_DESC)Postscript CID-keyed fonts, no known extension$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/cid/type1cid.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* type1cid.c */ 4 | /* */ 5 | /* FreeType OpenType driver component (body only). */ 6 | /* */ 7 | /* Copyright 1996-2001 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #define FT_MAKE_OPTION_SINGLE_OBJECT 20 | 21 | #include 22 | #include "cidparse.c" 23 | #include "cidload.c" 24 | #include "cidobjs.c" 25 | #include "cidriver.c" 26 | #include "cidgload.c" 27 | 28 | 29 | /* END */ 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/gxvalid/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/gxvalid Jamfile 2 | # 3 | # Copyright 2005 by 4 | # suzuki toshiya, Masatake YAMATO and Red Hat K.K. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) gxvalid ; 13 | 14 | 15 | { 16 | local _sources ; 17 | 18 | if $(FT2_MULTI) 19 | { 20 | _sources = gxvcommn gxvfeat gxvbsln gxvtrak gxvopbd gxvprop 21 | gxvmort gxvmort0 gxvmort1 gxvmort2 gxvmort4 gxvmort5 22 | gxvmorx gxvmorx0 gxvmorx1 gxvmorx2 gxvmorx4 gxvmorx5 23 | gxvlcar gxvkern gxvmod gxvjust ; 24 | } 25 | else 26 | { 27 | _sources = gxvalid ; 28 | } 29 | 30 | Library $(FT2_LIB) : $(_sources).c ; 31 | } 32 | 33 | # end of src/gxvalid Jamfile 34 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/gxvalid/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 gxvalid module definition 3 | # 4 | 5 | # Copyright 2004, 2005, 2006 6 | # by suzuki toshiya, Masatake YAMATO, Red Hat K.K., 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += GXVALID_MODULE 17 | 18 | define GXVALID_MODULE 19 | $(OPEN_DRIVER) FT_Module_Class, gxv_module_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)gxvalid $(ECHO_DRIVER_DESC)TrueTypeGX/AAT validation module$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/gzip/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/gzip Jamfile 2 | # 3 | # Copyright 2001 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) gzip ; 13 | 14 | Library $(FT2_LIB) : ftgzip.c ; 15 | 16 | # end of src/pcf Jamfile 17 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/gzip/adler32.c: -------------------------------------------------------------------------------- 1 | /* adler32.c -- compute the Adler-32 checksum of a data stream 2 | * Copyright (C) 1995-2002 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* @(#) $Id$ */ 7 | 8 | #include "zlib.h" 9 | 10 | #define BASE 65521L /* largest prime smaller than 65536 */ 11 | #define NMAX 5552 12 | /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */ 13 | 14 | #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} 15 | #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); 16 | #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); 17 | #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); 18 | #define DO16(buf) DO8(buf,0); DO8(buf,8); 19 | 20 | /* ========================================================================= */ 21 | ZEXPORT(uLong) adler32( /* adler, buf, len) */ 22 | uLong adler, 23 | const Bytef *buf, 24 | uInt len ) 25 | { 26 | unsigned long s1 = adler & 0xffff; 27 | unsigned long s2 = (adler >> 16) & 0xffff; 28 | int k; 29 | 30 | if (buf == Z_NULL) return 1L; 31 | 32 | while (len > 0) { 33 | k = len < NMAX ? len : NMAX; 34 | len -= k; 35 | while (k >= 16) { 36 | DO16(buf); 37 | buf += 16; 38 | k -= 16; 39 | } 40 | if (k != 0) do { 41 | s1 += *buf++; 42 | s2 += s1; 43 | } while (--k); 44 | s1 %= BASE; 45 | s2 %= BASE; 46 | } 47 | return (s2 << 16) | s1; 48 | } 49 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/gzip/infblock.h: -------------------------------------------------------------------------------- 1 | /* infblock.h -- header to use infblock.c 2 | * Copyright (C) 1995-2002 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | #ifndef _INFBLOCK_H 12 | #define _INFBLOCK_H 13 | 14 | struct inflate_blocks_state; 15 | typedef struct inflate_blocks_state FAR inflate_blocks_statef; 16 | 17 | local inflate_blocks_statef *inflate_blocks_new 18 | OF((z_streamp z, check_func c, /* check function */ 19 | uInt w)); /* window size */ 20 | 21 | local int inflate_blocks 22 | OF((inflate_blocks_statef *, z_streamp, int)); /* initial return code */ 23 | 24 | local void inflate_blocks_reset OF((inflate_blocks_statef *, z_streamp, 25 | uLongf *)); /* check value on output */ 26 | 27 | local int inflate_blocks_free OF((inflate_blocks_statef *, z_streamp)); 28 | 29 | #endif /* _INFBLOCK_H */ 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/gzip/infcodes.h: -------------------------------------------------------------------------------- 1 | /* infcodes.h -- header to use infcodes.c 2 | * Copyright (C) 1995-2002 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | #ifndef _INFCODES_H 12 | #define _INFCODES_H 13 | 14 | struct inflate_codes_state; 15 | typedef struct inflate_codes_state FAR inflate_codes_statef; 16 | 17 | local inflate_codes_statef *inflate_codes_new 18 | OF((uInt, uInt, inflate_huft *, inflate_huft *, z_streamp)); 19 | 20 | local int inflate_codes OF((inflate_blocks_statef *, z_streamp, int)); 21 | 22 | local void inflate_codes_free OF((inflate_codes_statef *, z_streamp)); 23 | 24 | #endif /* _INFCODES_H */ 25 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/lzw/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/lzw Jamfile 2 | # 3 | # Copyright 2004, 2006 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) lzw ; 13 | 14 | Library $(FT2_LIB) : ftlzw.c ; 15 | 16 | # end of src/lzw Jamfile 17 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/otvalid/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/otvalid Jamfile 2 | # 3 | # Copyright 2004 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) otvalid ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = otvbase otvcommn otvgdef otvgpos otvgsub otvjstf otvmod otvmath ; 20 | } 21 | else 22 | { 23 | _sources = otvalid ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/otvalid Jamfile 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/otvalid/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 otvalid module definition 3 | # 4 | 5 | 6 | # Copyright 2004, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += OTVALID_MODULE 17 | 18 | define OTVALID_MODULE 19 | $(OPEN_DRIVER) FT_Module_Class, otv_module_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)otvalid $(ECHO_DRIVER_DESC)OpenType validation module$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/otvalid/otvgpos.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* otvgpos.h */ 4 | /* */ 5 | /* OpenType GPOS table validator (specification). */ 6 | /* */ 7 | /* Copyright 2004 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | #ifndef __OTVGPOS_H__ 19 | #define __OTVGPOS_H__ 20 | 21 | FT_BEGIN_HEADER 22 | 23 | FT_LOCAL(void) 24 | otv_GPOS_subtable_validate(FT_Bytes table, OTV_Validator valid); 25 | 26 | FT_END_HEADER 27 | 28 | #endif /* __OTVGPOS_H__ */ 29 | 30 | /* END */ 31 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/pcf/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/pcf Jamfile 2 | # 3 | # Copyright 2001, 2003 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) pcf ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = pcfdrivr pcfread pcfutil ; 20 | } 21 | else 22 | { 23 | _sources = pcf ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/pcf Jamfile 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/pcf/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 PCF module definition 3 | # 4 | 5 | # Copyright 2000, 2006 by 6 | # Francesco Zappa Nardelli 7 | # 8 | # Permission is hereby granted, free of charge, to any person obtaining a copy 9 | # of this software and associated documentation files (the "Software"), to deal 10 | # in the Software without restriction, including without limitation the rights 11 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | # copies of the Software, and to permit persons to whom the Software is 13 | # furnished to do so, subject to the following conditions: 14 | # 15 | # The above copyright notice and this permission notice shall be included in 16 | # all copies or substantial portions of the Software. 17 | # 18 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | # THE SOFTWARE. 25 | 26 | 27 | FTMODULE_H_COMMANDS += PCF_DRIVER 28 | 29 | define PCF_DRIVER 30 | $(OPEN_DRIVER) FT_Driver_ClassRec, pcf_driver_class $(CLOSE_DRIVER) 31 | $(ECHO_DRIVER)pcf $(ECHO_DRIVER_DESC)pcf bitmap fonts$(ECHO_DRIVER_DONE) 32 | endef 33 | 34 | # EOF 35 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/pcf/pcf.c: -------------------------------------------------------------------------------- 1 | /* pcf.c 2 | 3 | FreeType font driver for pcf fonts 4 | 5 | Copyright 2000-2001, 2003 by 6 | Francesco Zappa Nardelli 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | */ 26 | 27 | 28 | #define FT_MAKE_OPTION_SINGLE_OBJECT 29 | 30 | 31 | #include 32 | #include "pcfutil.c" 33 | #include "pcfread.c" 34 | #include "pcfdrivr.c" 35 | 36 | /* END */ 37 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/pcf/pcfread.h: -------------------------------------------------------------------------------- 1 | /* pcfread.h 2 | 3 | FreeType font driver for pcf fonts 4 | 5 | Copyright 2003 by 6 | Francesco Zappa Nardelli 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | */ 26 | 27 | #ifndef __PCFREAD_H__ 28 | #define __PCFREAD_H__ 29 | 30 | #include 31 | 32 | FT_BEGIN_HEADER 33 | 34 | FT_LOCAL(PCF_Property) 35 | pcf_find_property(PCF_Face face, const FT_String* prop); 36 | 37 | FT_END_HEADER 38 | 39 | #endif /* __PCFREAD_H__ */ 40 | 41 | /* END */ 42 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/pfr/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/pfr Jamfile 2 | # 3 | # Copyright 2002 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) pfr ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = pfrdrivr pfrgload pfrload pfrobjs pfrcmap pfrsbit ; 20 | } 21 | else 22 | { 23 | _sources = pfr ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/pfr Jamfile 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/pfr/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 PFR module definition 3 | # 4 | 5 | 6 | # Copyright 2002, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += PFR_DRIVER 17 | 18 | define PFR_DRIVER 19 | $(OPEN_DRIVER) FT_Driver_ClassRec, pfr_driver_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)pfr $(ECHO_DRIVER_DESC)PFR/TrueDoc font files with extension *.pfr$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/pfr/pfr.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* pfr.c */ 4 | /* */ 5 | /* FreeType PFR driver component. */ 6 | /* */ 7 | /* Copyright 2002 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | #define FT_MAKE_OPTION_SINGLE_OBJECT 19 | 20 | #include 21 | 22 | #include "pfrload.c" 23 | #include "pfrgload.c" 24 | #include "pfrcmap.c" 25 | #include "pfrobjs.c" 26 | #include "pfrdrivr.c" 27 | #include "pfrsbit.c" 28 | 29 | /* END */ 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/psaux/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/psaux Jamfile 2 | # 3 | # Copyright 2001, 2002 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) psaux ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = psauxmod psobjs t1decode t1cmap 20 | psconv afmparse 21 | ; 22 | } 23 | else 24 | { 25 | _sources = psaux ; 26 | } 27 | 28 | Library $(FT2_LIB) : $(_sources).c ; 29 | } 30 | 31 | # end of src/psaux Jamfile 32 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/psaux/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 PSaux module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += PSAUX_MODULE 17 | 18 | define PSAUX_MODULE 19 | $(OPEN_DRIVER) FT_Module_Class, psaux_module_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)psaux $(ECHO_DRIVER_DESC)Postscript Type 1 & Type 2 helper module$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/pshinter/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/pshinter Jamfile 2 | # 3 | # Copyright 2001, 2003 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) pshinter ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = pshrec pshglob pshalgo pshmod pshpic ; 20 | } 21 | else 22 | { 23 | _sources = pshinter ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/pshinter Jamfile 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/pshinter/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 PSHinter module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2001, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += PSHINTER_MODULE 17 | 18 | define PSHINTER_MODULE 19 | $(OPEN_DRIVER) FT_Module_Class, pshinter_module_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)pshinter $(ECHO_DRIVER_DESC)Postscript hinter module$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/pshinter/pshinter.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* pshinter.c */ 4 | /* */ 5 | /* FreeType PostScript Hinting module */ 6 | /* */ 7 | /* Copyright 2001, 2003 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #define FT_MAKE_OPTION_SINGLE_OBJECT 20 | 21 | #include 22 | #include "pshpic.c" 23 | #include "pshrec.c" 24 | #include "pshglob.c" 25 | #include "pshalgo.c" 26 | #include "pshmod.c" 27 | 28 | 29 | /* END */ 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/pshinter/pshmod.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* pshmod.h */ 4 | /* */ 5 | /* PostScript hinter module interface (specification). */ 6 | /* */ 7 | /* Copyright 2001 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | #ifndef __PSHMOD_H__ 19 | #define __PSHMOD_H__ 20 | 21 | #include 22 | #include FT_MODULE_H 23 | 24 | FT_BEGIN_HEADER 25 | 26 | FT_DECLARE_MODULE(pshinter_module_class) 27 | 28 | FT_END_HEADER 29 | 30 | #endif /* __PSHMOD_H__ */ 31 | 32 | /* END */ 33 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/psnames/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/psnames Jamfile 2 | # 3 | # Copyright 2001 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) psnames ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = psmodule pspic ; 20 | } 21 | else 22 | { 23 | _sources = psnames ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/psnames Jamfile 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/psnames/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 PSnames module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += PSNAMES_MODULE 17 | 18 | define PSNAMES_MODULE 19 | $(OPEN_DRIVER) FT_Module_Class, psnames_module_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)psnames $(ECHO_DRIVER_DESC)Postscript & Unicode Glyph name handling$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/psnames/psnames.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* psnames.c */ 4 | /* */ 5 | /* FreeType PSNames module component (body only). */ 6 | /* */ 7 | /* Copyright 1996-2001 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #define FT_MAKE_OPTION_SINGLE_OBJECT 20 | 21 | #include 22 | #include "pspic.c" 23 | #include "psmodule.c" 24 | 25 | 26 | /* END */ 27 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/raster/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/raster Jamfile 2 | # 3 | # Copyright 2001 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) raster ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = ftraster ftrend1 rastpic ; 20 | } 21 | else 22 | { 23 | _sources = raster ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/raster Jamfile 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/raster/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 renderer module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += RASTER_MODULE 17 | 18 | define RASTER_MODULE 19 | $(OPEN_DRIVER) FT_Renderer_Class, ft_raster1_renderer_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)raster $(ECHO_DRIVER_DESC)monochrome bitmap renderer$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/raster/raster.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* raster.c */ 4 | /* */ 5 | /* FreeType monochrome rasterer module component (body only). */ 6 | /* */ 7 | /* Copyright 1996-2001 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #define FT_MAKE_OPTION_SINGLE_OBJECT 20 | 21 | #include 22 | #include "rastpic.c" 23 | #include "ftraster.c" 24 | #include "ftrend1.c" 25 | 26 | 27 | /* END */ 28 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/sfnt/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/sfnt Jamfile 2 | # 3 | # Copyright 2001, 2002, 2004, 2005 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) sfnt ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = sfobjs sfdriver ttcmap ttmtx ttpost ttload ttsbit ttkern ttbdf sfntpic ; 20 | } 21 | else 22 | { 23 | _sources = sfnt ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/sfnt Jamfile 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/sfnt/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 SFNT module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += SFNT_MODULE 17 | 18 | define SFNT_MODULE 19 | $(OPEN_DRIVER) FT_Module_Class, sfnt_module_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)sfnt $(ECHO_DRIVER_DESC)helper module for TrueType & OpenType formats$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/sfnt/sfdriver.h: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* sfdriver.h */ 4 | /* */ 5 | /* High-level SFNT driver interface (specification). */ 6 | /* */ 7 | /* Copyright 1996-2001 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | #ifndef __SFDRIVER_H__ 19 | #define __SFDRIVER_H__ 20 | 21 | #include 22 | #include FT_MODULE_H 23 | 24 | FT_BEGIN_HEADER 25 | 26 | FT_DECLARE_MODULE(sfnt_module_class) 27 | 28 | FT_END_HEADER 29 | 30 | #endif /* __SFDRIVER_H__ */ 31 | 32 | /* END */ 33 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/smooth/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/smooth Jamfile 2 | # 3 | # Copyright 2001 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) smooth ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = ftgrays ftsmooth ftspic ; 20 | } 21 | else 22 | { 23 | _sources = smooth ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/smooth Jamfile 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/smooth/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 smooth renderer module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += SMOOTH_RENDERER 17 | 18 | define SMOOTH_RENDERER 19 | $(OPEN_DRIVER) FT_Renderer_Class, ft_smooth_renderer_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)smooth $(ECHO_DRIVER_DESC)anti-aliased bitmap renderer$(ECHO_DRIVER_DONE) 21 | $(OPEN_DRIVER) FT_Renderer_Class, ft_smooth_lcd_renderer_class $(CLOSE_DRIVER) 22 | $(ECHO_DRIVER)smooth $(ECHO_DRIVER_DESC)anti-aliased bitmap renderer for LCDs$(ECHO_DRIVER_DONE) 23 | $(OPEN_DRIVER) FT_Renderer_Class, ft_smooth_lcdv_renderer_class $(CLOSE_DRIVER) 24 | $(ECHO_DRIVER)smooth $(ECHO_DRIVER_DESC)anti-aliased bitmap renderer for vertical LCDs$(ECHO_DRIVER_DONE) 25 | endef 26 | 27 | # EOF 28 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/smooth/smooth.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* smooth.c */ 4 | /* */ 5 | /* FreeType anti-aliasing rasterer module component (body only). */ 6 | /* */ 7 | /* Copyright 1996-2001 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | 19 | #define FT_MAKE_OPTION_SINGLE_OBJECT 20 | 21 | #include 22 | #include "ftspic.c" 23 | #include "ftgrays.c" 24 | #include "ftsmooth.c" 25 | 26 | 27 | /* END */ 28 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/tools/Jamfile: -------------------------------------------------------------------------------- 1 | # Jamfile for src/tools 2 | # 3 | SubDir FT2_TOP src tools ; 4 | 5 | Main apinames : apinames.c ; 6 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/tools/docmaker/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/tools/ftrandom/Makefile: -------------------------------------------------------------------------------- 1 | # TOP_DIR and OBJ_DIR should be set by the user to the right directories, 2 | # if necessary. 3 | 4 | TOP_DIR ?= ../../.. 5 | OBJ_DIR ?= $(TOP_DIR)/objs 6 | 7 | 8 | # The setup below is for gcc on a Unix-like platform. 9 | 10 | SRC_DIR = $(TOP_DIR)/src/tools/ftrandom 11 | 12 | CC = gcc 13 | WFLAGS = -Wmissing-prototypes \ 14 | -Wunused \ 15 | -Wimplicit \ 16 | -Wreturn-type \ 17 | -Wparentheses \ 18 | -pedantic \ 19 | -Wformat \ 20 | -Wchar-subscripts \ 21 | -Wsequence-point 22 | CFLAGS = $(WFLAGS) \ 23 | -g \ 24 | -I $(TOP_DIR)/include 25 | LIBS = -lm \ 26 | -L $(OBJ_DIR) \ 27 | -lfreetype \ 28 | -lz 29 | 30 | all: $(OBJ_DIR)/ftrandom 31 | 32 | $(OBJ_DIR)/ftrandom: $(SRC_DIR)/ftrandom.c $(OBJ_DIR)/libfreetype.a 33 | $(CC) -o $(OBJ_DIR)/ftrandom $(CFLAGS) $(SRC_DIR)/ftrandom.c $(LIBS) 34 | 35 | # EOF 36 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/truetype/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/truetype Jamfile 2 | # 3 | # Copyright 2001, 2004 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) truetype ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = ttdriver ttobjs ttpload ttgload ttinterp ttgxvar ttpic ; 20 | } 21 | else 22 | { 23 | _sources = truetype ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/truetype Jamfile 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/truetype/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 TrueType module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += TRUETYPE_DRIVER 17 | 18 | define TRUETYPE_DRIVER 19 | $(OPEN_DRIVER) FT_Driver_ClassRec, tt_driver_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)truetype $(ECHO_DRIVER_DESC)Windows/Mac font files with extension *.ttf or *.ttc$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/type1/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/type1 Jamfile 2 | # 3 | # Copyright 2001 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) type1 ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = t1afm t1driver t1objs t1load t1gload t1parse ; 20 | } 21 | else 22 | { 23 | _sources = type1 ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/type1 Jamfile 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/type1/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 Type1 module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += TYPE1_DRIVER 17 | 18 | define TYPE1_DRIVER 19 | $(OPEN_DRIVER) FT_Driver_ClassRec, t1_driver_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)type1 $(ECHO_DRIVER_DESC)Postscript font files with extension *.pfa or *.pfb$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/type42/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/type42 Jamfile 2 | # 3 | # Copyright 2002 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) type42 ; 13 | 14 | { 15 | local _sources ; 16 | 17 | if $(FT2_MULTI) 18 | { 19 | _sources = t42objs t42parse t42drivr ; 20 | } 21 | else 22 | { 23 | _sources = type42 ; 24 | } 25 | 26 | Library $(FT2_LIB) : $(_sources).c ; 27 | } 28 | 29 | # end of src/type42 Jamfile 30 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/type42/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 Type42 module definition 3 | # 4 | 5 | 6 | # Copyright 2002, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += TYPE42_DRIVER 17 | 18 | define TYPE42_DRIVER 19 | $(OPEN_DRIVER) FT_Driver_ClassRec, t42_driver_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)type42 $(ECHO_DRIVER_DESC)Type 42 font files with no known extension$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/type42/type42.c: -------------------------------------------------------------------------------- 1 | /***************************************************************************/ 2 | /* */ 3 | /* type42.c */ 4 | /* */ 5 | /* FreeType Type 42 driver component. */ 6 | /* */ 7 | /* Copyright 2002 by */ 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 | /* */ 10 | /* This file is part of the FreeType project, and may only be used, */ 11 | /* modified, and distributed under the terms of the FreeType project */ 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 | /* this file you indicate that you have read the license and */ 14 | /* understand and accept it fully. */ 15 | /* */ 16 | /***************************************************************************/ 17 | 18 | #define FT_MAKE_OPTION_SINGLE_OBJECT 19 | 20 | #include 21 | #include "t42objs.c" 22 | #include "t42parse.c" 23 | #include "t42drivr.c" 24 | 25 | /* END */ 26 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/winfonts/Jamfile: -------------------------------------------------------------------------------- 1 | # FreeType 2 src/winfonts Jamfile 2 | # 3 | # Copyright 2001 by 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. 5 | # 6 | # This file is part of the FreeType project, and may only be used, modified, 7 | # and distributed under the terms of the FreeType project license, 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 | # indicate that you have read the license and understand and accept it 10 | # fully. 11 | 12 | SubDir FT2_TOP $(FT2_SRC_DIR) winfonts ; 13 | 14 | Library $(FT2_LIB) : winfnt.c ; 15 | 16 | # end of src/winfonts Jamfile 17 | -------------------------------------------------------------------------------- /app/third_party/libfreetype/src/winfonts/module.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreeType 2 Windows FNT/FON module definition 3 | # 4 | 5 | 6 | # Copyright 1996-2000, 2006 by 7 | # David Turner, Robert Wilhelm, and Werner Lemberg. 8 | # 9 | # This file is part of the FreeType project, and may only be used, modified, 10 | # and distributed under the terms of the FreeType project license, 11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you 12 | # indicate that you have read the license and understand and accept it 13 | # fully. 14 | 15 | 16 | FTMODULE_H_COMMANDS += WINDOWS_DRIVER 17 | 18 | define WINDOWS_DRIVER 19 | $(OPEN_DRIVER) FT_Driver_ClassRec, winfnt_driver_class $(CLOSE_DRIVER) 20 | $(ECHO_DRIVER)winfnt $(ECHO_DRIVER_DESC)Windows bitmap fonts with extension *.fnt or *.fon$(ECHO_DRIVER_DONE) 21 | endef 22 | 23 | # EOF 24 | -------------------------------------------------------------------------------- /app/third_party/libpng/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := libpng 6 | LOCAL_SRC_FILES = png.c \ 7 | pngerror.c \ 8 | pngget.c \ 9 | pngmem.c \ 10 | pngpread.c \ 11 | pngread.c \ 12 | pngrio.c \ 13 | pngrtran.c \ 14 | pngrutil.c \ 15 | pngset.c \ 16 | pngtrans.c \ 17 | pngwio.c \ 18 | pngwrite.c \ 19 | pngwtran.c \ 20 | pngwutil.c \ 21 | 22 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/include 23 | LOCAL_EXPORT_C_INCLUDES += $(LOCAL_PATH)/include 24 | LOCAL_EXPORT_LDLIBS := -lz 25 | 26 | include $(BUILD_STATIC_LIBRARY) 27 | -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.3.1' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | jcenter() 18 | } 19 | } 20 | 21 | task clean(type: Delete) { 22 | delete rootProject.buildDir 23 | } 24 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ijinjay/SenseData/3bee7d5fde428fd0b962776a1e09c7575d4997db/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Apr 17 15:43:22 CST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip 7 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | --------------------------------------------------------------------------------