Commit a0dfcb54 authored by michael's avatar michael

petite scory

parent 50a03f3a
#include "vecteur.h"
#include "LrVector.h"
////////////////////////////// CONSTRUCTEURS ///////////////////////////////////////////////////////
......@@ -182,7 +182,7 @@ LrVector LrVector::multScalaire(float scalaire)
//normaliser le vecteur ////////////////////////////////////////////////////////////////////////////////////////
void LrVector::normaliser()
{
composantes[Z] /= norme;
composantes[X] /= norme;
composantes[Y] /= norme;
composantes[Z] /= norme;
norme=1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment