function [ x, y ] = hexagon_unit_vertices ( )

%*****************************************************************************80
%
%% hexagon_unit_vertices() returns the vertices of a unit hexagon.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    30 May 2023
%
%  Author:
%
%    John Burkardt
%
%  Output:
%
%    real x(6), y(6): the coordinates of the vertices.
%
  a = sqrt ( 3.0 ) / 2.0;
  x = [ 1.0, 0.5, -0.5, -1.0, -0.5,  0.5 ];
  y = [ 0.0, a,    a,    0.0, -a,   -a ];

  return
end

