1 /** 2 * Mandelbulber v2, a 3D fractal generator _%}}i*<. ______ 3 * Copyright (C) 2020 Mandelbulber Team _>]|=||i=i<, / ____/ __ __ 4 * \><||i|=>>%) / / __/ /___/ /_ 5 * This file is part of Mandelbulber. )<=i=]=|=i<> / /__ /_ __/_ __/ 6 * The project is licensed under GPLv3, -<>>=|><|||` \____/ /_/ /_/ 7 * see also COPYING file in this folder. ~+{i%+++ 8 * 9 * rotation 10 */ 11 12 #include "all_fractal_definitions.h" 13 cFractalTransfRotation()14cFractalTransfRotation::cFractalTransfRotation() : cAbstractFractal() 15 { 16 nameInComboBox = "T>Rotation"; 17 internalName = "transf_rotation"; 18 internalID = fractal::transfRotation; 19 DEType = analyticDEType; 20 DEFunctionType = withoutDEFunction; 21 cpixelAddition = cpixelDisabledByDefault; 22 defaultBailout = 100.0; 23 DEAnalyticFunction = analyticFunctionNone; 24 coloringFunction = coloringFunctionDefault; 25 } 26 FormulaCode(CVector4 & z,const sFractal * fractal,sExtendedAux & aux)27void cFractalTransfRotation::FormulaCode(CVector4 &z, const sFractal *fractal, sExtendedAux &aux) 28 { 29 Q_UNUSED(aux); 30 31 z = fractal->transformCommon.rotationMatrix.RotateVector(z); 32 } 33