#ifndef _PC_STYLIZATION_VERTEX_COMMON_H_
#define _PC_STYLIZATION_VERTEX_COMMON_H_

#include "Constants.h"
#include "VertexInput.h"

float ComputePointSize()
{                                                                                                                                                  
    return gPointSize == 0? 1.0f:gPointSize;  	
}

// compute tranformed position in world space
float4 ComputeTransformedVec(float4 wPos)
{
    return gUseOriginWorld?
            mul(wPos, gOriginWXf):
            mul(wPos, gWXf);
}






#endif