Commit 682059e9 by rakein

Upload new file

parent f1696577
Showing with 10 additions and 0 deletions
#include <stdlib.h>
#include "seeStruct.h"
double pindala(seeStruct A[], seeStruct B[], seeStruct C[], int i)
{
double S;
S = abs((A[i].x * (B[i].y - C[i].y) + B[i].x * (C[i].y - A[i].y) +
C[i].x * (A[i].y - B[i].y))/2);
return S;
}
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 sign in to comment