function [ adj, t1_ij ] = serenity3_adjacency ( )

%*****************************************************************************80
%
%% serenity3_adjacency() returns adjacency information for serenity tile #3.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    18 April 2024
%
%  Author:
%
%    John Burkardt
%
%  Output:
%
%    integer ADJ(36,3): ADJ(I,J) describes the J-th neighbor of the 
%    I-th 30-60-90 triangle.  Neighbor J=1 is across from the 30 degree angle,
%    J=2 from the 60 degree angle, and J=3 from the 90 degree angle.
%
%    integer t1_ij(3,2), the (i,j) vertex coordinates of 30-60-90 triangle #1.
%
  adj = [ ...
     2, 26,  6; ... % 1
     1, 25,  3; ... % 2
     4, -1,  2; ... % 3
     3, 24,  5; ... % 4
     6, 29,  4; ... % 5
     5, 28,  1; ... % 6
%
     8, 23, 12; ... % 7
     7, 22,  9; ... % 8
    10, 16,  8; ... % 9
     9, 15, 11; ... % 10
    12, -1, 10; ... % 11
    11, 33,  7; ... % 12
%
    14, -1, 18; ... % 13
    13, -1, 15; ... % 14
    16, 10, 14; ... % 15
    15,  9, 17; ... % 16
    18, 19, 16; ... % 17
    17, 20, 13; ... % 18
%
    20, 17, -1; ... % 19
    19, 18, 21; ... % 20
    -1, -1, 20; ... % 21
%
    23,  8, -1; ... % 22
    22,  7, 24; ... % 23
    -1,  4, 23; ... % 24
%
    26,  2, -1; ... % 25
    25,  1, 27; ... % 26
    -1, -1, 26; ... % 27
%
    29,  6, -1; ... % 28
    28,  5, 30; ... % 29
    -1, 36, 29; ... % 30
%
    32, 34, -1; ... % 31
    31, 35, 33; ... % 32
    -1, 12, 32; ... % 33
%
    35, 31, -1; ... % 34
    34, 32, 36; ... % 35
    -1, 30, 35 ];   % 36

  t1_ij = [ ...
    0, 0; ...
    2, 2; ...
    2, 0 ];

  return
end

