Home
last modified time | relevance | path

Searched refs:mat4 (Results 1 – 25 of 65) sorted by relevance

123

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/
H A Dmat4.hpp30 using mat4 = std::array<double, 16>; typedef
34 void identity(mat4& out);
35 bool invert(mat4& out, mat4& a);
36 void ortho(mat4& out, double left, double right, double bottom, double top, double near, double far…
37 void perspective(mat4& out, double fovy, double aspect, double near, double far);
38 void copy(mat4& out, const mat4& a);
39 void translate(mat4& out, const mat4& a, double x, double y, double z);
40 void rotate_x(mat4& out, const mat4& a, double rad);
41 void rotate_y(mat4& out, const mat4& a, double rad);
42 void rotate_z(mat4& out, const mat4& a, double rad);
[all …]
H A Dmat4.cpp31 void identity(mat4& out) { in identity()
50 bool invert(mat4& out, mat4& a) { in invert()
97 void ortho(mat4& out, double left, double right, double bottom, double top, double near, double far… in ortho()
119 void perspective(mat4& out, double fovy, double aspect, double near, double far) { in perspective()
140 void copy(mat4& out, const mat4& a) { in copy()
159 void translate(mat4& out, const mat4& a, double x, double y, double z) { in translate()
185 void rotate_x(mat4& out, const mat4& a, double rad) { in rotate_x()
219 void rotate_y(mat4& out, const mat4& a, double rad) { in rotate_y()
253 void rotate_z(mat4& out, const mat4& a, double rad) { in rotate_z()
287 void scale(mat4& out, const mat4& a, double x, double y, double z) { in scale()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/
H A Dcollision_index.hpp21 const mat4& posMatrix,
22 const mat4& labelPlaneMatrix,
40 const mat4& posMatrix,
41 const mat4& labelPlaneMatrix,
52 std::pair<float,float> projectAnchor(const mat4& posMatrix, const Point<float>& point) const;
53 …std::pair<Point<float>,float> projectAndGetPerspectiveRatio(const mat4& posMatrix, const Point<flo…
54 Point<float> projectPoint(const mat4& posMatrix, const Point<float>& point) const;
H A Dplacement.hpp65 void placeLayer(RenderSymbolLayer&, const mat4&, bool showCollisionBoxes);
82 const mat4& posMatrix,
83 const mat4& textLabelPlaneMatrix,
84 const mat4& iconLabelPlaneMatrix,
H A Dcollision_index.cpp68 const mat4& posMatrix, in placeFeature()
69 const mat4& labelPlaneMatrix, in placeFeature()
98 const mat4& posMatrix, in placeLineFeature()
99 const mat4& labelPlaneMatrix, in placeLineFeature()
306 std::pair<float,float> CollisionIndex::projectAnchor(const mat4& posMatrix, const Point<float>& poi… in projectAnchor()
315 std::pair<Point<float>,float> CollisionIndex::projectAndGetPerspectiveRatio(const mat4& posMatrix, … in projectAndGetPerspectiveRatio()
330 Point<float> CollisionIndex::projectPoint(const mat4& posMatrix, const Point<float>& point) const { in projectPoint()
H A Dplacement.cpp43 void Placement::placeLayer(RenderSymbolLayer& symbolLayer, const mat4& projMatrix, bool showCollisi… in placeLayer()
72 mat4 posMatrix; in placeLayer()
76 mat4 textLabelPlaneMatrix = getLabelPlaneMatrix(posMatrix, in placeLayer()
82 mat4 iconLabelPlaneMatrix = getLabelPlaneMatrix(posMatrix, in placeLayer()
101 const mat4& posMatrix, in placeLayerBucket()
102 const mat4& textLabelPlaneMatrix, in placeLayerBucket()
103 const mat4& iconLabelPlaneMatrix, in placeLayerBucket()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/
H A Drender_tile.hpp28 mat4 matrix;
29 mat4 nearClippedMatrix;
33 mat4 translatedMatrix(const std::array<float, 2>& translate,
37 mat4 translatedClipMatrix(const std::array<float, 2>& translate,
45 mat4 translateVtxMatrix(const mat4& tileMatrix,
H A Dpaint_parameters.hpp65 mat4 matrixForTile(const UnwrappedTileID&, bool aligned = false) const;
67 mat4 projMatrix;
68 mat4 alignedProjMatrix;
69 mat4 nearClippedProjMatrix;
H A Drender_tile.cpp14 mat4 RenderTile::translateVtxMatrix(const mat4& tileMatrix, in translateVtxMatrix()
23 mat4 vtxMatrix; in translateVtxMatrix()
43 mat4 RenderTile::translatedMatrix(const std::array<float, 2>& translation, in translatedMatrix()
49 mat4 RenderTile::translatedClipMatrix(const std::array<float, 2>& translation, in translatedClipMatrix()
H A Dpaint_parameters.cpp54 mat4 PaintParameters::matrixForTile(const UnwrappedTileID& tileID, bool aligned) const { in matrixForTile()
55 mat4 matrix; in matrixForTile()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/layout/
H A Dsymbol_projection.hpp43mat4 getLabelPlaneMatrix(const mat4& posMatrix, const bool pitchWithMap, const bool rotateWithMap,…
44mat4 getGlCoordMatrix(const mat4& posMatrix, const bool pitchWithMap, const bool rotateWithMap, co…
47 PointAndCameraDistance project(const Point<float>& point, const mat4& matrix);
50 const mat4& posMatrix, const style::SymbolPropertyValues&,
60 const mat4& labelPlaneMatrix,
H A Dsymbol_projection.cpp59mat4 getLabelPlaneMatrix(const mat4& posMatrix, const bool pitchWithMap, const bool rotateWithMap,… in getLabelPlaneMatrix()
60 mat4 m; in getLabelPlaneMatrix()
78mat4 getGlCoordMatrix(const mat4& posMatrix, const bool pitchWithMap, const bool rotateWithMap, co… in getGlCoordMatrix()
79 mat4 m; in getGlCoordMatrix()
95 PointAndCameraDistance project(const Point<float>& point, const mat4& matrix) { in project()
147 …st Point<float>& previousProjectedPoint, const float minimumLength, const mat4& projectionMatrix) { in projectTruncatedLineSegment()
159 …GeometryCoordinates& line, const std::vector<float>& tileDistances, const mat4& labelPlaneMatrix, … in placeGlyphAlongLine()
241 const mat4& labelPlaneMatrix, in placeFirstAndLastGlyph()
288 const mat4& posMatrix, in placeGlyphsAlongLine()
289 const mat4& labelPlaneMatrix, in placeGlyphsAlongLine()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/map/
H A Dtransform_state.cpp19 void TransformState::matrixFor(mat4& matrix, const UnwrappedTileID& tileID) const { in matrixFor()
30 void TransformState::getProjMatrix(mat4& projMatrix, uint16_t nearZ, bool aligned) const { in getProjMatrix()
281 mat4 mat = coordinatePointMatrix(getZoom()); in latLngToScreenCoordinate()
295 mat4 mat = coordinatePointMatrix(getZoom()); in screenCoordinateToLatLng()
297 mat4 inverted; in screenCoordinateToLatLng()
328 mat4 TransformState::coordinatePointMatrix(double z) const { in coordinatePointMatrix()
329 mat4 proj; in coordinatePointMatrix()
337 mat4 TransformState::getPixelMatrix() const { in getPixelMatrix()
338 mat4 m; in getPixelMatrix()
413 mat4 projectionMatrix; in getCameraToTileDistance()
[all …]
H A Dtransform_state.hpp27 void matrixFor(mat4&, const UnwrappedTileID&) const;
28 void getProjMatrix(mat4& matrix, uint16_t nearZ = 1, bool aligned = false) const;
109 mat4 coordinatePointMatrix(double z) const;
110 mat4 getPixelMatrix() const;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/sources/
H A Drender_image_source.hpp36 const mat4& projMatrix) const final;
51 std::vector<mat4> matrices;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/programs/
H A Dfill_extrusion_program.hpp42 static Values values(mat4,
68 static Values values(mat4,
H A Dfill_extrusion_program.cpp35 FillExtrusionUniforms::values(mat4 matrix, in values()
47 FillExtrusionPatternUniforms::values(mat4 matrix, in values()
H A Dsymbol_program.cpp68 mat4 labelPlaneMatrix; in makeValues()
77mat4 glCoordMatrix = getGlCoordMatrix(tile.matrix, pitchWithMap, rotateWithMap, state, pixelsToTil… in makeValues()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/geometry/
H A Dfeature_index.cpp44 const mat4& posMatrix, in query()
114 mat4 unusedMatrix; in lookupSymbolFeatures()
129 const mat4& posMatrix) const { in addFeature()
H A Dfeature_index.hpp62 const mat4& posMatrix,
96 const mat4& posMatrix) const;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/layers/
H A Drender_circle_layer.cpp114 GeometryCoordinate projectPoint(const GeometryCoordinate& p, const mat4& posMatrix, const Size& siz… in projectPoint()
123 GeometryCoordinates projectQueryGeometry(const GeometryCoordinates& queryGeometry, const mat4& posM… in projectQueryGeometry()
137 const mat4& posMatrix) const { in queryIntersectsFeature()
H A Drender_heatmap_layer.cpp140 mat4 viewportMat; in render()
209 const mat4&) const { in queryIntersectsFeature()
H A Drender_fill_extrusion_layer.cpp161 mat4 viewportMat; in render()
207 const mat4&) const { in queryIntersectsFeature()
H A Drender_fill_layer.hpp25 const mat4&) const override;
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dmat4.c20 LSX_FORMAT_HANDLER(mat4) in LSX_FORMAT_HANDLER() argument

123