Angkor
In the early days of Angkor, the worship of Vishnu was secondary to that of Shiva. The relationship seems to have changed with the construction of Angkor Wat by King Suryavarman II as his personal mausoleum at the beginning of the 12th century. The central religious image of Angkor Wat was an image of Vishnu, and an inscription identifies Suryavarman as "Paramavishnuloka," or "he who enters the heavenly world of Vishnu." Religious syncretism, however, remained thoroughgoing in Khmer society: the state religion of Shaivism was not necessarily abrogated by Suryavarman's turn to Vishnu, and the temple may well have housed a royal lingam. Furthermore, the turn to Vaishnavism did not abrogate the royal personality cult of Angkor. by which the reigning king was identified with the deity. According to Angkor scholar Georges Coedès, "Angkor Wat is, if you like, a vaishnavite sanctuary, but the Vishnu venerated there was not the ancient Hindu deity nor even one of the deity's traditional incarnations, but the king Suryavarman II posthumously identified with Vishnu, consubstantial with him, residing in a mausoleum decorated with the graceful figures of apsaras just like Vishnu in his celestial palace." Suryavarman proclaimed his identity with Vishnu, just as his predecessors had claimed consubstantiation with Shiva.
Angkor Wat
Unlike most Khmer temples, Angkor Wat is oriented to the west rather than the east. This has led many (including Maurice Glaize and George Coedès) to conclude that Suryavarman intended it to serve as his funerary temple. Further evidence for this view is provided by the bas-reliefs, which proceed in a counter-clockwise direction—"prasavya" in Hindu terminology—as this is the reverse of the normal order. Rituals take place in reverse order during Brahminic funeral services. The archaeologist Charles Higham also describes a container which may have been a funerary jar which was recovered from the central tower. It has been nominated by some as the greatest expenditure of energy on the disposal of a corpse. Freeman and Jacques, however, note that several other temples of Angkor depart from the typical eastern orientation, and suggest that Angkor Wat's alignment was due to its dedication to Vishnu, who was associated with the west.