Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Espejo en Y #62

Open
jorrgeCruz opened this issue Mar 25, 2021 · 0 comments
Open

Espejo en Y #62

jorrgeCruz opened this issue Mar 25, 2021 · 0 comments
Assignees
Labels
Feature request New feature / Nueva característica

Comments

@jorrgeCruz
Copy link
Owner

Nombre de la nueva caracteristica

Espejo en Y

Menu donde debe aparecer

Indicar de acuerdo a la siguiente<.
OP. Geometricas->Espejo Y

NOTA: este menu debe ser agregarlo en el html.

Material guia para su implementación

//esta funcion esta escrita en Java, no es copiar y pegar, debes adecuar tu codigo en JS
public static float[][][] espejoY(float [][][] arr)
    {
        int filas = arr.length, cols = arr[0].length;
        float [][] asal= new float [filas][cols];  
        for(int i=0; i<filas; i++)
         {
            for(int j=0; j<cols; j++)
            {                 
                  asal[R][i][j] = arr[R][i][filas-1-j];     
                  asal[G][i][j] = arr[G][i][filas-1-j];      
                  asal[B][i][j] = arr[B][i][filas-1-j];                
            }
         }     
        return asal;     
    }
@jorrgeCruz jorrgeCruz added the Feature request New feature / Nueva característica label Mar 25, 2021
@jorrgeCruz jorrgeCruz added this to the Operaciones adicionales. milestone Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request New feature / Nueva característica
Projects
None yet
Development

No branches or pull requests

2 participants