6 #include "IPinViewFactory.h"
29 v2(-(spriteWidth / 2), 0),
30 v2((spriteWidth / 2), spriteHeight)))
40 vertices[0].x = m_spriteDimensions.min.GetX();
41 vertices[0].y = m_spriteDimensions.min.GetY();
44 vertices[1].x = m_spriteDimensions.min.GetX();
45 vertices[1].y = m_spriteDimensions.max.GetY();
48 vertices[2].x = m_spriteDimensions.max.GetX();
49 vertices[2].y = m_spriteDimensions.max.GetY();
53 modelBounds.Encapsulate(vertices[0]);
54 modelBounds.Encapsulate(vertices[1]);
55 modelBounds.Encapsulate(vertices[2]);
57 return Eegeo_NEW(
PinView)(pinModel, modelBounds);