EditTransformPlane
This function transforms a 3D plane from one space to another.
Syntax
- Vec3 TransformPlane(const Plane& p, const Mat4& src, const Mat4& dst)
- Vec3 TransformPlane(const float x, const float y, const float z, const float d, const Mat4& src, const Mat4& dst)
- Vec3 TransformPlane(const Plane& p, shared_ptr<Entity> src, shared_ptr<Entity> dst)
- Vec3 TransformPlane(const float x, const float y, const float z, const float d, shared_ptr<Entity> src, shared_ptr<Entity> dst)
Parameter |
Description |
p, (x, y, z, d) |
3D plane to transform |
src |
source 4x4 matrix or entity |
dst |
destination 4x4 matrix or entity |
Returns
Returns the transformed plane.